提交 cfa04aa5 编写于 作者: A Aljoscha Krettek

[scala] Disable Warning Message in TypeAnalyzer

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.
上级 aba76171
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册