Repository: accumulo Updated Branches: refs/heads/master 0c63731da -> d1af19d50
ACCUMULO-3425 Cleanup javadoc warnings Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/d1af19d5 Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/d1af19d5 Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/d1af19d5 Branch: refs/heads/master Commit: d1af19d5049829a1e93ca34e862bece86b84cf3e Parents: 0c63731 Author: Christopher Tubbs <ctubb...@apache.org> Authored: Wed Dec 17 21:17:48 2014 -0500 Committer: Christopher Tubbs <ctubb...@apache.org> Committed: Wed Dec 17 21:17:48 2014 -0500 ---------------------------------------------------------------------- .../main/java/org/apache/accumulo/core/rpc/ThriftUtil.java | 2 +- .../org/apache/accumulo/core/rpc/TraceProtocolFactory.java | 4 ++-- .../java/org/apache/accumulo/server/rpc/TServerUtils.java | 7 ++----- 3 files changed, 5 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/accumulo/blob/d1af19d5/core/src/main/java/org/apache/accumulo/core/rpc/ThriftUtil.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/apache/accumulo/core/rpc/ThriftUtil.java b/core/src/main/java/org/apache/accumulo/core/rpc/ThriftUtil.java index 8b8304c..09bd6c4 100644 --- a/core/src/main/java/org/apache/accumulo/core/rpc/ThriftUtil.java +++ b/core/src/main/java/org/apache/accumulo/core/rpc/ThriftUtil.java @@ -71,7 +71,7 @@ public class ThriftUtil { } /** - * An instance of {@link TFramedTransport.Factory} + * An instance of {@link org.apache.thrift.transport.TFramedTransport.Factory} * * @return The default Thrift TTransportFactory for RPC */ http://git-wip-us.apache.org/repos/asf/accumulo/blob/d1af19d5/core/src/main/java/org/apache/accumulo/core/rpc/TraceProtocolFactory.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/apache/accumulo/core/rpc/TraceProtocolFactory.java b/core/src/main/java/org/apache/accumulo/core/rpc/TraceProtocolFactory.java index 4591aa6..4cd3ab9 100644 --- a/core/src/main/java/org/apache/accumulo/core/rpc/TraceProtocolFactory.java +++ b/core/src/main/java/org/apache/accumulo/core/rpc/TraceProtocolFactory.java @@ -21,7 +21,7 @@ import org.apache.thrift.protocol.TProtocol; import org.apache.thrift.transport.TTransport; /** - * {@link TCompactProtocol.Factory} implementation which injects {@link TraceProtocol} instead of {@link TCompactProtocol} + * {@link org.apache.thrift.protocol.TCompactProtocol.Factory} implementation which injects {@link TraceProtocol} instead of {@link TCompactProtocol} */ public class TraceProtocolFactory extends TCompactProtocol.Factory { private static final long serialVersionUID = 1L; @@ -30,4 +30,4 @@ public class TraceProtocolFactory extends TCompactProtocol.Factory { public TProtocol getProtocol(TTransport trans) { return new TraceProtocol(trans); } -} \ No newline at end of file +} http://git-wip-us.apache.org/repos/asf/accumulo/blob/d1af19d5/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 4444f9a..641c0bf 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 @@ -135,9 +135,8 @@ public class TServerUtils { port = 1024 + port % (65535 - 1024); try { HostAndPort addr = HostAndPort.fromParts(hostname, port); - return TServerUtils.startTServer(addr, timedProcessor, serverName, threadName, minThreads, - simpleTimerThreadpoolSize, timeBetweenThreadChecks, maxMessageSize, - service.getServerSslParams(), service.getClientTimeoutInMillis()); + return TServerUtils.startTServer(addr, timedProcessor, serverName, threadName, minThreads, simpleTimerThreadpoolSize, timeBetweenThreadChecks, + maxMessageSize, service.getServerSslParams(), service.getClientTimeoutInMillis()); } catch (TTransportException ex) { log.error("Unable to start TServer", ex); if (ex.getCause() == null || ex.getCause().getClass() == BindException.class) { @@ -238,7 +237,6 @@ public class TServerUtils { * @param params * SSL parameters * @return A configured TServerSocket configured to use SSL - * @throws TTransportException */ public static TServerSocket getSslServerSocket(int port, int timeout, InetAddress address, SslConnectionParams params) throws TTransportException { TServerSocket tServerSock; @@ -283,7 +281,6 @@ public class TServerUtils { * @param sslParams * SSL parameters * @return A ServerAddress with the bound-socket information and the Thrift server - * @throws TTransportException */ public static ServerAddress createSslThreadPoolServer(HostAndPort address, TProcessor processor, long socketTimeout, SslConnectionParams sslParams) throws TTransportException {