You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2016/08/11 08:53:20 UTC
[jira] [Resolved] (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 ]
Sean Owen resolved SPARK-17004.
-------------------------------
Resolution: Not A Problem
> 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