Details
-
Sub-task
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.1.0
-
None
Description
If there are multiple overloaded versions of a method, we should make the links more specific. Otherwise, `sbt/sbt unidoc` generates warning messages like the following:
[warn] mllib/src/main/scala/org/apache/spark/mllib/tree/DecisionTree.scala:305: The link target "org.apache.spark.mllib.tree.DecisionTree$#trainClassifier" is ambiguous. Several members fit the target: [warn] (input: org.apache.spark.api.java.JavaRDD[org.apache.spark.mllib.regression.LabeledPoint],numClassesForClassification: Int,categoricalFeaturesInfo: java.util.Map[Integer,Integer],impurity: String,maxDepth: Int,maxBins: Int): org.apache.spark.mllib.tree.model.DecisionTreeModel in object DecisionTree [chosen] [warn] (input: org.apache.spark.rdd.RDD[org.apache.spark.mllib.regression.LabeledPoint],numClassesForClassification: Int,categoricalFeaturesInfo: Map[Int,Int],impurity: String,maxDepth: Int,maxBins: Int): org.apache.spark.mllib.tree.model.DecisionTreeModel in object DecisionTree
Attachments
Issue Links
- duplicates
-
SPARK-12047 Unhelpful error messages generated by JavaDoc while doing sbt unidoc
- Closed
- links to