accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vi...@apache.org
Subject [1/2] git commit: ACCUMULO-1959 - supressing deprecation warning
Date Mon, 16 Dec 2013 18:52:44 GMT
Updated Branches:
  refs/heads/master cb73865ae -> 75685ce8b


ACCUMULO-1959 - supressing deprecation warning


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

Branch: refs/heads/master
Commit: 37c9a76017eac42577fbbc4c217f2af76ea84779
Parents: f06b067
Author: John Vines <vines@apache.org>
Authored: Mon Dec 16 13:52:15 2013 -0500
Committer: John Vines <vines@apache.org>
Committed: Mon Dec 16 13:52:15 2013 -0500

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


http://git-wip-us.apache.org/repos/asf/accumulo/blob/37c9a760/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 37529aa..9b68222 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
@@ -24,8 +24,10 @@ import java.io.DataOutputStream;
 import java.nio.ByteBuffer;
 import java.nio.charset.Charset;
 import java.util.List;
+
 import org.junit.Before;
 import org.junit.Test;
+
 import static org.easymock.EasyMock.*;
 import static org.junit.Assert.*;
 
@@ -73,6 +75,7 @@ public class ValueTest {
 
   @Test
   public void testByteBufferCopy() {
+    @SuppressWarnings("deprecation")
     Value v = new Value(DATABUFF, true);
     assertArrayEquals(DATA, v.get());
   }


Mime
View raw message