re-activate FindBugs
[openflowplugin.git] / openflowplugin-impl / src / main / java / org / opendaylight / openflowplugin / impl / connection / listener / ConnectionReadyListenerImpl.java
index 90607c6f50a9675c9aa9c6dd0febccfd36509739..21769465227e0caa49a333ab525d0675a28c8cad 100644 (file)
@@ -22,8 +22,8 @@ public class ConnectionReadyListenerImpl implements ConnectionReadyListener {
 
     private static final Logger LOG = LoggerFactory.getLogger(ConnectionReadyListenerImpl.class);
 
-    private ConnectionContext connectionContext;
-    private HandshakeContext handshakeContext;
+    private final ConnectionContext connectionContext;
+    private final HandshakeContext handshakeContext;
 
     /**
      * Constructor.
@@ -57,7 +57,7 @@ public class ConnectionReadyListenerImpl implements ConnectionReadyListener {
                         // need to remain in sync lock until initial handshake step processed.
                         handshakeResult.get();
                     } catch (Exception e) {
-                        LOG.error("failed to process onConnectionReady event on device {}, reason {}",
+                        LOG.error("failed to process onConnectionReady event on device {}",
                                 connectionContext.getConnectionAdapter().getRemoteAddress(),
                                 e);
                         connectionContext.closeConnection(false);