incubator-crunch-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jwi...@apache.org
Subject git commit: CRUNCH-137: Remove getConfiguration() reference from ThriftInputMapFn
Date Thu, 20 Dec 2012 19:07:25 GMT
Updated Branches:
  refs/heads/master 80654bbb3 -> 5919af7bc


CRUNCH-137: Remove getConfiguration() reference from ThriftInputMapFn


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

Branch: refs/heads/master
Commit: 5919af7bc274e0ff2c5c32ea2cc9e1d18542b3c5
Parents: 80654bb
Author: Josh Wills <jwills@apache.org>
Authored: Thu Dec 20 11:07:08 2012 -0800
Committer: Josh Wills <jwills@apache.org>
Committed: Thu Dec 20 11:07:08 2012 -0800

----------------------------------------------------------------------
 .../main/java/org/apache/crunch/types/PTypes.java  |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-crunch/blob/5919af7b/crunch/src/main/java/org/apache/crunch/types/PTypes.java
----------------------------------------------------------------------
diff --git a/crunch/src/main/java/org/apache/crunch/types/PTypes.java b/crunch/src/main/java/org/apache/crunch/types/PTypes.java
index 1f87874..886d96c 100644
--- a/crunch/src/main/java/org/apache/crunch/types/PTypes.java
+++ b/crunch/src/main/java/org/apache/crunch/types/PTypes.java
@@ -164,7 +164,7 @@ public class PTypes {
 
     @Override
     public void initialize() {
-      this.instance = ReflectionUtils.newInstance(clazz, getConfiguration());
+      this.instance = ReflectionUtils.newInstance(clazz, null);
       this.deserializer = new TDeserializer(new TBinaryProtocol.Factory());
       this.bytes = new byte[0];
     }


Mime
View raw message