You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Reynold Xin (JIRA)" <ji...@apache.org> on 2016/08/11 02:39:20 UTC

[jira] [Closed] (SPARK-17005) Fix warning "method tpe in trait AnnotationApi is deprecated"

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

Reynold Xin closed SPARK-17005.
-------------------------------
    Resolution: Won't Fix

This will break Scala 2.10.


> Fix warning "method tpe in trait AnnotationApi is deprecated"
> -------------------------------------------------------------
>
>                 Key: SPARK-17005
>                 URL: https://issues.apache.org/jira/browse/SPARK-17005
>             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] /Users/quickmobile/workspace/spark/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/ScalaReflection.scala:349: method tpe in trait AnnotationApi is deprecated: Use `tree.tpe` instead
> [warn]       case t if t.typeSymbol.annotations.exists(_.tpe =:= typeOf[SQLUserDefinedType]) =>
> [warn]                                                   ^
> [warn] /Users/quickmobile/workspace/spark/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/ScalaReflection.scala:551: method tpe in trait AnnotationApi is deprecated: Use `tree.tpe` instead
> [warn]       case t if t.typeSymbol.annotations.exists(_.tpe =:= typeOf[SQLUserDefinedType]) =>
> [warn]                                                   ^
> [warn] /Users/quickmobile/workspace/spark/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/ScalaReflection.scala:647: method tpe in trait AnnotationApi is deprecated: Use `tree.tpe` instead
> [warn]       case t if t.typeSymbol.annotations.exists(_.tpe =:= typeOf[SQLUserDefinedType]) =>
> [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