You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by tr...@apache.org on 2015/03/02 15:04:12 UTC
flink git commit: [scala api] Moves TraversableType behind the
CaseClassType in the TypeAnalyzer priority
Repository: flink
Updated Branches:
refs/heads/master a201b3011 -> 84c11e690
[scala api] Moves TraversableType behind the CaseClassType in the TypeAnalyzer priority
Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/84c11e69
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/84c11e69
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/84c11e69
Branch: refs/heads/master
Commit: 84c11e690de1d3d885c80b5544ec4f330d395414
Parents: a201b30
Author: Till Rohrmann <tr...@apache.org>
Authored: Mon Mar 2 14:53:15 2015 +0100
Committer: Till Rohrmann <tr...@apache.org>
Committed: Mon Mar 2 14:53:15 2015 +0100
----------------------------------------------------------------------
.../scala/org/apache/flink/api/scala/codegen/TypeAnalyzer.scala | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flink/blob/84c11e69/flink-scala/src/main/scala/org/apache/flink/api/scala/codegen/TypeAnalyzer.scala
----------------------------------------------------------------------
diff --git a/flink-scala/src/main/scala/org/apache/flink/api/scala/codegen/TypeAnalyzer.scala b/flink-scala/src/main/scala/org/apache/flink/api/scala/codegen/TypeAnalyzer.scala
index e025192..3121815 100644
--- a/flink-scala/src/main/scala/org/apache/flink/api/scala/codegen/TypeAnalyzer.scala
+++ b/flink-scala/src/main/scala/org/apache/flink/api/scala/codegen/TypeAnalyzer.scala
@@ -65,8 +65,6 @@ private[flink] trait TypeAnalyzer[C <: Context] { this: MacroContextHolder[C]
case NothingType() => NothingDesciptor(id, tpe)
- case TraversableType(elemTpe) => analyzeTraversable(id, tpe, elemTpe)
-
case EitherType(leftTpe, rightTpe) => analyzeEither(id, tpe, leftTpe, rightTpe)
case TryType(elemTpe) => analyzeTry(id, tpe, elemTpe)
@@ -75,6 +73,8 @@ private[flink] trait TypeAnalyzer[C <: Context] { this: MacroContextHolder[C]
case CaseClassType() => analyzeCaseClass(id, tpe)
+ case TraversableType(elemTpe) => analyzeTraversable(id, tpe, elemTpe)
+
case ValueType() => ValueDescriptor(id, tpe)
case WritableType() => WritableDescriptor(id, tpe)