Repository: accumulo Updated Branches: refs/heads/1.8 272ac2888 -> f7989c678
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/1.8 Commit: f7989c67847d623951d657783cea263f6041987b Parents: 272ac28 Author: Dave Marion <dlmar...@apache.org> Authored: Tue Oct 4 14:41:57 2016 -0400 Committer: Dave Marion <dlmar...@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);