[SPARK-16153] [MLLIB] switch to multi-line doc to avoid a genjavadoc bug#13855
Closed
mengxr wants to merge 1 commit into
Closed
[SPARK-16153] [MLLIB] switch to multi-line doc to avoid a genjavadoc bug#13855mengxr wants to merge 1 commit into
mengxr wants to merge 1 commit into
Conversation
Contributor
Author
|
cc: @JoshRosen It would be nice to have a Jenkins job to build the docs. |
|
Test build #61063 has finished for PR 13855 at commit
|
asfgit
pushed a commit
that referenced
this pull request
Jun 22, 2016
## What changes were proposed in this pull request? We recently deprecated setLabelCol in ChiSqSelectorModel (#13823): ~~~scala /** group setParam */ Since("1.6.0") deprecated("labelCol is not used by ChiSqSelectorModel.", "2.0.0") def setLabelCol(value: String): this.type = set(labelCol, value) ~~~ This unfortunately hit a genjavadoc bug and broken doc generation. This is the generated Java code: ~~~java /** group setParam */ public org.apache.spark.ml.feature.ChiSqSelectorModel setOutputCol (java.lang.String value) { throw new RuntimeException(); } * * deprecated labelCol is not used by ChiSqSelectorModel. Since 2.0.0. */ public org.apache.spark.ml.feature.ChiSqSelectorModel setLabelCol (java.lang.String value) { throw new RuntimeException(); } ~~~ Switching to multiline is a workaround. Author: Xiangrui Meng <meng@databricks.com> Closes #13855 from mengxr/SPARK-16153. (cherry picked from commit 00cc5cc) Signed-off-by: Xiangrui Meng <meng@databricks.com>
Contributor
Author
|
This is a trivial change and fixes Java doc build. Merged into master and branch-2.0. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this pull request?
We recently deprecated setLabelCol in ChiSqSelectorModel (#13823):
This unfortunately hit a genjavadoc bug and broken doc generation. This is the generated Java code:
Switching to multiline is a workaround.