beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dhalp...@apache.org
Subject [1/2] incubator-beam git commit: [BEAM-630] Fixes wrong type name in generated code
Date Tue, 13 Sep 2016 23:53:20 GMT
Repository: incubator-beam
Updated Branches:
  refs/heads/master 0800a8cb2 -> 5979b61b9


[BEAM-630] Fixes wrong type name in generated code


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

Branch: refs/heads/master
Commit: 2f825177c59add53fa259325c2fe17981a707ba1
Parents: 0800a8c
Author: Eugene Kirpichov <kirpichov@google.com>
Authored: Tue Sep 13 14:19:29 2016 -0700
Committer: Eugene Kirpichov <kirpichov@google.com>
Committed: Tue Sep 13 14:19:29 2016 -0700

----------------------------------------------------------------------
 .../java/org/apache/beam/sdk/transforms/reflect/DoFnInvokers.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-beam/blob/2f825177/sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/reflect/DoFnInvokers.java
----------------------------------------------------------------------
diff --git a/sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/reflect/DoFnInvokers.java
b/sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/reflect/DoFnInvokers.java
index f622015..edc1dc0 100644
--- a/sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/reflect/DoFnInvokers.java
+++ b/sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/reflect/DoFnInvokers.java
@@ -397,7 +397,7 @@ public class DoFnInvokers {
     private Object describeType(Type type) {
       switch (type.getSort()) {
         case Type.OBJECT:
-          return type.getDescriptor();
+          return type.getInternalName();
         case Type.INT:
         case Type.BYTE:
         case Type.BOOLEAN:


Mime
View raw message