accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ctubb...@apache.org
Subject [19/23] accumulo git commit: ACCUMULO-4331 cleanup-fix warnings
Date Mon, 20 Jun 2016 23:50:11 GMT
ACCUMULO-4331 cleanup-fix warnings

Fix warnings left from previous work:
 * Fix broken javadoc
 * Fix compiler warnings about overriding deprecated methods


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

Branch: refs/heads/master
Commit: 4f7fbf4d06409017d1c26f68f45d620635d75a60
Parents: 78273df
Author: Christopher Tubbs <ctubbsii@apache.org>
Authored: Mon Jun 20 19:26:20 2016 -0400
Committer: Christopher Tubbs <ctubbsii@apache.org>
Committed: Mon Jun 20 19:26:20 2016 -0400

----------------------------------------------------------------------
 .../main/java/org/apache/accumulo/server/rpc/TServerUtils.java  | 4 ++--
 .../java/org/apache/accumulo/server/util/TServerUtilsTest.java  | 5 +++++
 2 files changed, 7 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/4f7fbf4d/server/base/src/main/java/org/apache/accumulo/server/rpc/TServerUtils.java
----------------------------------------------------------------------
diff --git a/server/base/src/main/java/org/apache/accumulo/server/rpc/TServerUtils.java b/server/base/src/main/java/org/apache/accumulo/server/rpc/TServerUtils.java
index 74f4a0c..f874353 100644
--- a/server/base/src/main/java/org/apache/accumulo/server/rpc/TServerUtils.java
+++ b/server/base/src/main/java/org/apache/accumulo/server/rpc/TServerUtils.java
@@ -474,8 +474,8 @@ public class TServerUtils {
   }
 
   /**
-   * @see #startTServer(HostAndPort, ThriftServerType, TimedProcessor, TProtocolFactory,
String, String, int, int, long, long, SslConnectionParams,
-   *      SaslServerConnectionParams, long)
+   * @see #startTServer(ThriftServerType, TimedProcessor, TProtocolFactory, String, String,
int, int, long, long, SslConnectionParams,
+   *      SaslServerConnectionParams, long, HostAndPort...)
    */
   public static ServerAddress startTServer(ThriftServerType serverType, TimedProcessor processor,
String serverName, String threadName, int numThreads,
       int numSTThreads, long timeBetweenThreadChecks, long maxMessageSize, SslConnectionParams
sslParams, SaslServerConnectionParams saslParams,

http://git-wip-us.apache.org/repos/asf/accumulo/blob/4f7fbf4d/server/base/src/test/java/org/apache/accumulo/server/util/TServerUtilsTest.java
----------------------------------------------------------------------
diff --git a/server/base/src/test/java/org/apache/accumulo/server/util/TServerUtilsTest.java
b/server/base/src/test/java/org/apache/accumulo/server/util/TServerUtilsTest.java
index e6761a5..7a69fca 100644
--- a/server/base/src/test/java/org/apache/accumulo/server/util/TServerUtilsTest.java
+++ b/server/base/src/test/java/org/apache/accumulo/server/util/TServerUtilsTest.java
@@ -88,26 +88,31 @@ public class TServerUtilsTest {
       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