accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject git commit: ACCUMULO-2487 eliminate warnings about unused vars
Date Mon, 24 Mar 2014 14:30:25 GMT
Repository: accumulo
Updated Branches:
  refs/heads/1.6.0-SNAPSHOT 0a5f966fd -> edbf231ca


ACCUMULO-2487 eliminate warnings about unused vars


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

Branch: refs/heads/1.6.0-SNAPSHOT
Commit: edbf231caa2477cf30e5efab3d7753d0d4f23dec
Parents: 0a5f966
Author: Eric C. Newton <eric.newton@gmail.com>
Authored: Mon Mar 24 10:30:19 2014 -0400
Committer: Eric C. Newton <eric.newton@gmail.com>
Committed: Mon Mar 24 10:30:19 2014 -0400

----------------------------------------------------------------------
 .../src/test/java/org/apache/accumulo/core/data/ValueTest.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/edbf231c/core/src/test/java/org/apache/accumulo/core/data/ValueTest.java
----------------------------------------------------------------------
diff --git a/core/src/test/java/org/apache/accumulo/core/data/ValueTest.java b/core/src/test/java/org/apache/accumulo/core/data/ValueTest.java
index c7b9db5..cd26743 100644
--- a/core/src/test/java/org/apache/accumulo/core/data/ValueTest.java
+++ b/core/src/test/java/org/apache/accumulo/core/data/ValueTest.java
@@ -55,17 +55,17 @@ public class ValueTest {
 
   @Test(expected=NullPointerException.class)
   public void testNullBytesConstructor() {
-    Value v = new Value((byte[]) null);
+    new Value((byte[]) null);
   }
 
   @Test(expected=NullPointerException.class)
   public void testNullCopyConstructor() {
-    Value v = new Value((Value) null);
+    new Value((Value) null);
   }
 
   @Test(expected=NullPointerException.class)
   public void testNullByteBufferConstructor() {
-    Value v = new Value((ByteBuffer)null);
+    new Value((ByteBuffer)null);
   }
 
   @Test(expected=NullPointerException.class)


Mime
View raw message