flink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From trohrm...@apache.org
Subject git commit: [FLINK-1178] Changed type preference to ValueType, WritableType, CaseClassType
Date Mon, 27 Oct 2014 16:12:20 GMT
Repository: incubator-flink
Updated Branches:
  refs/heads/master 3af57ea5b -> f2b8650e3


[FLINK-1178] Changed type preference to ValueType, WritableType, CaseClassType

This closes #162


Project: http://git-wip-us.apache.org/repos/asf/incubator-flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-flink/commit/f2b8650e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-flink/tree/f2b8650e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-flink/diff/f2b8650e

Branch: refs/heads/master
Commit: f2b8650e3968daf695af832470083afbc8d161b3
Parents: 3af57ea
Author: Till Rohrmann <trohrmann@apache.org>
Authored: Mon Oct 20 18:28:21 2014 +0200
Committer: Till Rohrmann <trohrmann@apache.org>
Committed: Mon Oct 27 17:10:59 2014 +0100

----------------------------------------------------------------------
 .../scala/org/apache/flink/api/scala/codegen/TypeAnalyzer.scala    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/f2b8650e/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 3a4deca..493386e 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
@@ -60,9 +60,9 @@ private[flink] trait TypeAnalyzer[C <: Context] { this: MacroContextHolder[C]
             BoxedPrimitiveDescriptor(id, tpe, default, wrapper, box, unbox)
           case ListType(elemTpe, iter) =>
             analyzeList(id, tpe, elemTpe, iter)
-          case CaseClassType() => analyzeCaseClass(id, tpe)
           case ValueType() => ValueDescriptor(id, tpe)
           case WritableType() => WritableDescriptor(id, tpe)
+          case CaseClassType() => analyzeCaseClass(id, tpe)
           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 " +


Mime
View raw message