You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/08/11 00:06:21 UTC
[jira] [Assigned] (SPARK-17004) Fix warning "method declarations in
class TypeApi is deprecated"
[ https://issues.apache.org/jira/browse/SPARK-17004?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Apache Spark reassigned SPARK-17004:
------------------------------------
Assignee: (was: Apache Spark)
> Fix warning "method declarations in class TypeApi is deprecated"
> ----------------------------------------------------------------
>
> Key: SPARK-17004
> URL: https://issues.apache.org/jira/browse/SPARK-17004
> Project: Spark
> Issue Type: Improvement
> Components: Examples
> Affects Versions: 2.0.0
> Reporter: Xin Ren
> Priority: Trivial
>
> When running module 'examples', there is warning:
> {code}
> [warn] /home/jenkins/workspace/SparkPullRequestBuilder/examples/src/main/scala/org/apache/spark/examples/mllib/AbstractParams.scala:41: method declarations in class TypeApi is deprecated: Use `decls` instead
> [warn] val allAccessors = tpe.declarations.collect {
> [warn] ^
> [warn] one warning found
> [warn] /home/jenkins/workspace/SparkPullRequestBuilder/examples/src/main/scala/org/apache/spark/examples/mllib/AbstractParams.scala:41: method declarations in class TypeApi is deprecated: Use `decls` instead
> [warn] val allAccessors = tpe.declarations.collect {
> [warn]
> {code}
--
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