GitHub user mengxr opened a pull request:
https://github.com/apache/spark/pull/13855
[SPARK-16153] [MLLIB] switch to multi-line doc to avoid a genjavadoc bug
## 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.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mengxr/spark SPARK-16153
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/13855.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #13855
----
commit a04d7cbc12fa921cc7d1d32221e7c7f0c0958c5d
Author: Xiangrui Meng <[email protected]>
Date: 2016-06-22T19:30:32Z
switch to multi-line doc to avoid a genjavadoc bug
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]