rpcbenchmark: final parameters
[controller.git] / benchmark / rpcbenchmark / src / main / java / rpcbenchmark / impl / RpcbenchmarkProvider.java
index b591c3f53c139e4bd79e36abfbfef7a5198b8f0e..a0cc1a16dc1b829d543d1699f96a3d0059bd688d 100644 (file)
@@ -50,7 +50,7 @@ public class RpcbenchmarkProvider implements BindingAwareProvider, AutoCloseable
     private RpcProviderRegistry providerRegistry;
 
     @Override
     private RpcProviderRegistry providerRegistry;
 
     @Override
-    public void onSessionInitiated(ProviderContext session) {
+    public void onSessionInitiated(final ProviderContext session) {
         LOG.debug("RpcbenchmarkProvider Session Initiated");
         consumerRegistry = session.getSALService(RpcConsumerRegistry.class);
         providerRegistry = session.getSALService(RpcProviderRegistry.class);
         LOG.debug("RpcbenchmarkProvider Session Initiated");
         consumerRegistry = session.getSALService(RpcConsumerRegistry.class);
         providerRegistry = session.getSALService(RpcProviderRegistry.class);
@@ -122,7 +122,7 @@ public class RpcbenchmarkProvider implements BindingAwareProvider, AutoCloseable
             executor.shutdown();
             try {
                 executor.awaitTermination(testTimeout, TimeUnit.MINUTES);
             executor.shutdown();
             try {
                 executor.awaitTermination(testTimeout, TimeUnit.MINUTES);
-            } catch (InterruptedException e) {
+            } catch (final InterruptedException e) {
                 LOG.error("Out of time: test did not finish within the {} min deadline ", testTimeout); 
             }
 
                 LOG.error("Out of time: test did not finish within the {} min deadline ", testTimeout); 
             }