cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject [8/8] git commit: Fix misplaced 'new' keyword
Date Mon, 13 Feb 2012 22:32:32 GMT
Fix misplaced 'new' keyword


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/651ca528
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/651ca528
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/651ca528

Branch: refs/heads/cassandra-1.1
Commit: 651ca528d24f088581055cfbd4c70115e04899ea
Parents: cb0efd0
Author: Brandon Williams <brandonwilliams@apache.org>
Authored: Mon Feb 13 13:41:03 2012 -0600
Committer: Brandon Williams <brandonwilliams@apache.org>
Committed: Mon Feb 13 13:41:03 2012 -0600

----------------------------------------------------------------------
 .../cassandra/hadoop/pig/CassandraStorage.java     |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/651ca528/contrib/pig/src/java/org/apache/cassandra/hadoop/pig/CassandraStorage.java
----------------------------------------------------------------------
diff --git a/contrib/pig/src/java/org/apache/cassandra/hadoop/pig/CassandraStorage.java b/contrib/pig/src/java/org/apache/cassandra/hadoop/pig/CassandraStorage.java
index 63758ab..b9977a5 100644
--- a/contrib/pig/src/java/org/apache/cassandra/hadoop/pig/CassandraStorage.java
+++ b/contrib/pig/src/java/org/apache/cassandra/hadoop/pig/CassandraStorage.java
@@ -491,7 +491,7 @@ public class CassandraStorage extends LoadFunc implements StoreFuncInterface,
Lo
         if (o == null)
             return (ByteBuffer)o;
         if (o instanceof java.lang.String)
-            return new ByteBuffer.wrap(DataByteArray((String)o).get());
+            return ByteBuffer.wrap(new DataByteArray((String)o).get());
         if (o instanceof Integer)
             return IntegerType.instance.decompose((BigInteger)o);
         if (o instanceof Long)


Mime
View raw message