Repository: spark Updated Branches: refs/heads/branch-1.5 988e838a2 -> 04ef52a5b
[SPARK-10140] [DOC] add target fields to @Since so constructors parameters and public fields can be annotated. rxin MechCoder Author: Xiangrui Meng <m...@databricks.com> Closes #8344 from mengxr/SPARK-10140.2. (cherry picked from commit cdd9a2bb10e20556003843a0f7aaa33acd55f6d2) Signed-off-by: Xiangrui Meng <m...@databricks.com> Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/04ef52a5 Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/04ef52a5 Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/04ef52a5 Branch: refs/heads/branch-1.5 Commit: 04ef52a5bcbe8fba2941af235b8cda1255d4af8d Parents: 988e838 Author: Xiangrui Meng <m...@databricks.com> Authored: Thu Aug 20 20:01:13 2015 -0700 Committer: Xiangrui Meng <m...@databricks.com> Committed: Thu Aug 20 20:01:27 2015 -0700 ---------------------------------------------------------------------- core/src/main/scala/org/apache/spark/annotation/Since.scala | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/04ef52a5/core/src/main/scala/org/apache/spark/annotation/Since.scala ---------------------------------------------------------------------- diff --git a/core/src/main/scala/org/apache/spark/annotation/Since.scala b/core/src/main/scala/org/apache/spark/annotation/Since.scala index fa59393..af483e3 100644 --- a/core/src/main/scala/org/apache/spark/annotation/Since.scala +++ b/core/src/main/scala/org/apache/spark/annotation/Since.scala @@ -18,6 +18,7 @@ package org.apache.spark.annotation import scala.annotation.StaticAnnotation +import scala.annotation.meta._ /** * A Scala annotation that specifies the Spark version when a definition was added. @@ -25,4 +26,5 @@ import scala.annotation.StaticAnnotation * hence works for overridden methods that inherit API documentation directly from parents. * The limitation is that it does not show up in the generated Java API documentation. */ +@param @field @getter @setter @beanGetter @beanSetter private[spark] class Since(version: String) extends StaticAnnotation --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org