Merge "Removed unused fields"
authormichal rehak <mirehak@cisco.com>
Wed, 16 Sep 2015 16:10:30 +0000 (16:10 +0000)
committerGerrit Code Review <gerrit@opendaylight.org>
Wed, 16 Sep 2015 16:10:30 +0000 (16:10 +0000)
openflowplugin/src/main/java/org/opendaylight/openflowplugin/openflow/md/core/HandshakeManagerImpl.java

index 184195ea7659acdba50e9c90d094a3cf230fa2f9..db955001ea46f46548912f07eaed7225d6bba2a4 100644 (file)
@@ -10,7 +10,6 @@ package org.opendaylight.openflowplugin.openflow.md.core;
 import java.util.List;
 import java.util.Objects;
 import java.util.concurrent.Future;
-import java.util.concurrent.TimeUnit;
 
 import org.opendaylight.openflowjava.protocol.api.connection.ConnectionAdapter;
 import org.opendaylight.openflowplugin.api.openflow.md.core.ConnectionConductor;
@@ -51,8 +50,8 @@ public class HandshakeManagerImpl implements HandshakeManager {
     private Short version;
     private ErrorHandler errorHandler;
 
-    private long maxTimeout = 8000;
-    private TimeUnit maxTimeoutUnit = TimeUnit.MILLISECONDS;
+
+
     private Short highestVersion;
 
     private Long activeXid;
@@ -311,8 +310,8 @@ public class HandshakeManagerImpl implements HandshakeManager {
      * @throws Exception
      */
     private ListenableFuture<Void> sendHelloMessage(Short helloVersion, final Long helloXid) throws Exception {
-        
-        
+
+
         HelloInput helloInput = MessageFactory.createHelloInput(helloVersion, helloXid, versionOrder);
 
         final SettableFuture<Void> resultFtr = SettableFuture.create();