Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-9864

Replace `@since` JavaDoc tag by `@Since` annotation in MLlib

    XMLWordPrintableJSON

Details

    • Documentation
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 1.5.0
    • 1.5.0
    • Documentation, ML, MLlib
    • None

    Description

      After SPARK-8967, we should use @Since annotation instead of @since tag in JavaDoc. This helps reuse API doc for inherited methods and public variables in the constructor, e.g.:

      @Since("1.0.0")
      override def predict(...)
      
      /**
       * ...
       */
      @Since("1.2.0")
      class KMeansModel(
          @Since("1.3.0") override val uid: String,
          @Since("1.4.0") val centers: Array[Vector])
      

      Attachments

        Issue Links

          Activity

            People

              MechCoder Manoj Kumar
              mengxr Xiangrui Meng
              Xiangrui Meng Xiangrui Meng
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: