accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dlmar...@apache.org
Subject [1/2] accumulo git commit: ACCUMULO-4483: Don't modify the source Value in MemValue.decode.
Date Tue, 04 Oct 2016 18:43:04 GMT
Repository: accumulo
Updated Branches:
  refs/heads/master eac5f8927 -> 1c218de97


ACCUMULO-4483: Don't modify the source Value in MemValue.decode.


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

Branch: refs/heads/master
Commit: f7989c67847d623951d657783cea263f6041987b
Parents: 272ac28
Author: Dave Marion <dlmarion@apache.org>
Authored: Tue Oct 4 14:41:57 2016 -0400
Committer: Dave Marion <dlmarion@apache.org>
Committed: Tue Oct 4 14:41:57 2016 -0400

----------------------------------------------------------------------
 .../tserver/src/main/java/org/apache/accumulo/tserver/MemValue.java | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/f7989c67/server/tserver/src/main/java/org/apache/accumulo/tserver/MemValue.java
----------------------------------------------------------------------
diff --git a/server/tserver/src/main/java/org/apache/accumulo/tserver/MemValue.java b/server/tserver/src/main/java/org/apache/accumulo/tserver/MemValue.java
index af6f2f1..d2ba005 100644
--- a/server/tserver/src/main/java/org/apache/accumulo/tserver/MemValue.java
+++ b/server/tserver/src/main/java/org/apache/accumulo/tserver/MemValue.java
@@ -45,7 +45,6 @@ public class MemValue {
     byte[] originalBytes = new byte[v.getSize() - 4];
     byte[] combined = v.get();
     System.arraycopy(combined, 4, originalBytes, 0, originalBytes.length);
-    v.set(originalBytes);
     int kv = (combined[0] << 24) + ((combined[1] & 0xFF) << 16) + ((combined[2]
& 0xFF) << 8) + (combined[3] & 0xFF);
 
     return new MemValue(new Value(originalBytes), kv);


Mime
View raw message