accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ctubb...@apache.org
Subject [6/6] accumulo git commit: ACCUMULO-4456 Remove redundant type args (use diamond)
Date Fri, 07 Oct 2016 23:16:49 GMT
ACCUMULO-4456 Remove redundant type args (use diamond)


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

Branch: refs/heads/master
Commit: c57a3801b843a2d8648ab9cd299ce463a0b71a3e
Parents: 59a6218
Author: Christopher Tubbs <ctubbsii@apache.org>
Authored: Fri Oct 7 19:02:53 2016 -0400
Committer: Christopher Tubbs <ctubbsii@apache.org>
Committed: Fri Oct 7 19:02:53 2016 -0400

----------------------------------------------------------------------
 .../apache/accumulo/server/rpc/HighlyAvailableServiceWrapper.java  | 2 +-
 server/master/src/main/java/org/apache/accumulo/master/Master.java | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/c57a3801/server/base/src/main/java/org/apache/accumulo/server/rpc/HighlyAvailableServiceWrapper.java
----------------------------------------------------------------------
diff --git a/server/base/src/main/java/org/apache/accumulo/server/rpc/HighlyAvailableServiceWrapper.java
b/server/base/src/main/java/org/apache/accumulo/server/rpc/HighlyAvailableServiceWrapper.java
index 89d7ed4..153f784 100644
--- a/server/base/src/main/java/org/apache/accumulo/server/rpc/HighlyAvailableServiceWrapper.java
+++ b/server/base/src/main/java/org/apache/accumulo/server/rpc/HighlyAvailableServiceWrapper.java
@@ -43,6 +43,6 @@ public class HighlyAvailableServiceWrapper {
   }
 
   protected <T> HighlyAvailableServiceInvocationHandler<T> getInvocationHandler(final
T instance, final HighlyAvailableService service) {
-    return new HighlyAvailableServiceInvocationHandler<T>(instance, service);
+    return new HighlyAvailableServiceInvocationHandler<>(instance, service);
   }
 }

http://git-wip-us.apache.org/repos/asf/accumulo/blob/c57a3801/server/master/src/main/java/org/apache/accumulo/master/Master.java
----------------------------------------------------------------------
diff --git a/server/master/src/main/java/org/apache/accumulo/master/Master.java b/server/master/src/main/java/org/apache/accumulo/master/Master.java
index ec0b8f3..0213ad5 100644
--- a/server/master/src/main/java/org/apache/accumulo/master/Master.java
+++ b/server/master/src/main/java/org/apache/accumulo/master/Master.java
@@ -1157,7 +1157,7 @@ public class Master extends AccumuloServerContext implements LiveTServerSet.List
     MasterReplicationCoordinator impl = new MasterReplicationCoordinator(this);
     ReplicationCoordinator.Iface haReplicationProxy = HighlyAvailableServiceWrapper.service(impl,
this);
     ReplicationCoordinator.Processor<ReplicationCoordinator.Iface> replicationCoordinatorProcessor
= new ReplicationCoordinator.Processor<>(RpcWrapper.service(
-        impl, new ReplicationCoordinator.Processor<ReplicationCoordinator.Iface>(haReplicationProxy)));
+        impl, new ReplicationCoordinator.Processor<>(haReplicationProxy)));
     ServerAddress replAddress = TServerUtils.startServer(this, hostname, Property.MASTER_REPLICATION_COORDINATOR_PORT,
replicationCoordinatorProcessor,
         "Master Replication Coordinator", "Replication Coordinator", null, Property.MASTER_REPLICATION_COORDINATOR_MINTHREADS,
         Property.MASTER_REPLICATION_COORDINATOR_THREADCHECK, Property.GENERAL_MAX_MESSAGE_SIZE);


Mime
View raw message