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:20 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15416247#comment-15416247 ]
Apache Spark commented on SPARK-17004:
--------------------------------------
User 'keypointt' has created a pull request for this issue:
https://github.com/apache/spark/pull/14587
> 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