You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xiangrui Meng (JIRA)" <ji...@apache.org> on 2016/06/22 19:31:16 UTC

[jira] [Updated] (SPARK-16153) A single-line ScalaDoc and @deprecate annotation would break genjavadoc

     [ https://issues.apache.org/jira/browse/SPARK-16153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xiangrui Meng updated SPARK-16153:
----------------------------------
    Description: 
Env: Scala 2.11.8, Java 1.7.0_79

We recently deprecated setLabelCol in ChiSqSelectorModel:

{code}
  /** @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)
{code}

This unfortunately hit a unidoc bug and broken doc generation. Switching to multiline is a workaround.

  was:
Scala 2.11.8, Java 1.7.0_79

We recently deprecated setLabelCol in ChiSqSelectorModel:

{code}
  /** @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)
{code}

This unfortunately hit a unidoc bug and broken doc generation. Switching to multiline is a workaround.


> A single-line ScalaDoc and @deprecate annotation would break genjavadoc
> -----------------------------------------------------------------------
>
>                 Key: SPARK-16153
>                 URL: https://issues.apache.org/jira/browse/SPARK-16153
>             Project: Spark
>          Issue Type: Bug
>          Components: Documentation
>    Affects Versions: 2.0.0
>            Reporter: Xiangrui Meng
>            Assignee: Xiangrui Meng
>
> Env: Scala 2.11.8, Java 1.7.0_79
> We recently deprecated setLabelCol in ChiSqSelectorModel:
> {code}
>   /** @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)
> {code}
> This unfortunately hit a unidoc bug and broken doc generation. Switching to multiline is a workaround.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org