Bug 8153: Enforce check-style rules for netconf - client.
[netconf.git] / netconf / netconf-client / src / main / java / org / opendaylight / netconf / client / SimpleNetconfClientSessionListener.java
index 040d60c14acff0ff80b80a0f69d06b0bf7f1716c..654210a4a0e1685b032cdf3cb60fb10c9bd3a1d8 100644 (file)
@@ -25,7 +25,7 @@ public class SimpleNetconfClientSessionListener implements NetconfClientSessionL
         private final Promise<NetconfMessage> promise;
         private final NetconfMessage request;
 
-        public RequestEntry(Promise<NetconfMessage> future, NetconfMessage request) {
+        RequestEntry(Promise<NetconfMessage> future, NetconfMessage request) {
             this.promise = Preconditions.checkNotNull(future);
             this.request = Preconditions.checkNotNull(request);
         }
@@ -71,14 +71,14 @@ public class SimpleNetconfClientSessionListener implements NetconfClientSessionL
     }
 
     @Override
-    public final void onSessionDown(NetconfClientSession clientSession, Exception e) {
-        LOG.debug("Client Session {} went down unexpectedly", clientSession, e);
-        tearDown(e);
+    public final void onSessionDown(NetconfClientSession clientSession, Exception exception) {
+        LOG.debug("Client Session {} went down unexpectedly", clientSession, exception);
+        tearDown(exception);
     }
 
     @Override
     public final void onSessionTerminated(NetconfClientSession clientSession,
-            NetconfTerminationReason netconfTerminationReason) {
+                                          NetconfTerminationReason netconfTerminationReason) {
         LOG.debug("Client Session {} terminated, reason: {}", clientSession,
                 netconfTerminationReason.getErrorMessage());
         tearDown(new RuntimeException(netconfTerminationReason.getErrorMessage()));