Skip to content

Commit

Permalink
[scala] Disable Warning Message in TypeAnalyzer
Browse files Browse the repository at this point in the history
This would print a warning if a type could not be analyzed by the Scala
TypeAnalyzer. In such a case analysis is done using the Java
TypeExtractor but the warning seems to confuse people.
  • Loading branch information
aljoscha committed Jan 13, 2015
1 parent aba7617 commit cfa04aa
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,6 @@ private[flink] trait TypeAnalyzer[C <: Context] { this: MacroContextHolder[C]

case JavaType() =>
// It's a Java Class, let the TypeExtractor deal with it...
c.warning(c.enclosingPosition, s"Type $tpe is a java class. Will be analyzed by " +
s"TypeExtractor at runtime.")
GenericClassDescriptor(id, tpe)

case _ => analyzePojo(id, tpe)
Expand Down

0 comments on commit cfa04aa

Please sign in to comment.