accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ctubb...@apache.org
Subject [12/23] accumulo git commit: ACCUMULO-4184 Fix compiler warnings
Date Mon, 20 Jun 2016 23:50:04 GMT
ACCUMULO-4184 Fix compiler warnings

Fix compiler warnings from overriding deprecated methods by making them
also deprecated.


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

Branch: refs/heads/1.8
Commit: 976c0aaf95a0b6c7866c74d3127bc457e27046ed
Parents: 2e4eddd
Author: Christopher Tubbs <ctubbsii@apache.org>
Authored: Mon Jun 20 17:24:42 2016 -0400
Committer: Christopher Tubbs <ctubbsii@apache.org>
Committed: Mon Jun 20 17:24:42 2016 -0400

----------------------------------------------------------------------
 .../master/balancer/BaseHostRegexTableLoadBalancerTest.java   | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/976c0aaf/server/base/src/test/java/org/apache/accumulo/server/master/balancer/BaseHostRegexTableLoadBalancerTest.java
----------------------------------------------------------------------
diff --git a/server/base/src/test/java/org/apache/accumulo/server/master/balancer/BaseHostRegexTableLoadBalancerTest.java
b/server/base/src/test/java/org/apache/accumulo/server/master/balancer/BaseHostRegexTableLoadBalancerTest.java
index aa1480f..144d1fc 100644
--- a/server/base/src/test/java/org/apache/accumulo/server/master/balancer/BaseHostRegexTableLoadBalancerTest.java
+++ b/server/base/src/test/java/org/apache/accumulo/server/master/balancer/BaseHostRegexTableLoadBalancerTest.java
@@ -22,9 +22,9 @@ import java.util.ArrayList;
 import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
+import java.util.Map.Entry;
 import java.util.SortedMap;
 import java.util.TreeMap;
-import java.util.Map.Entry;
 
 import org.apache.accumulo.core.client.AccumuloException;
 import org.apache.accumulo.core.client.AccumuloSecurityException;
@@ -81,26 +81,31 @@ public abstract class BaseHostRegexTableLoadBalancerTest extends HostRegexTableL
       return 30;
     }
 
+    @Deprecated
     @Override
     public Connector getConnector(String user, byte[] pass) throws AccumuloException, AccumuloSecurityException
{
       throw new UnsupportedOperationException();
     }
 
+    @Deprecated
     @Override
     public Connector getConnector(String user, ByteBuffer pass) throws AccumuloException,
AccumuloSecurityException {
       throw new UnsupportedOperationException();
     }
 
+    @Deprecated
     @Override
     public Connector getConnector(String user, CharSequence pass) throws AccumuloException,
AccumuloSecurityException {
       throw new UnsupportedOperationException();
     }
 
+    @Deprecated
     @Override
     public AccumuloConfiguration getConfiguration() {
       throw new UnsupportedOperationException();
     }
 
+    @Deprecated
     @Override
     public void setConfiguration(AccumuloConfiguration conf) {}
 


Mime
View raw message