[jboss-remoting-commits] JBoss Remoting SVN: r4841 - remoting2/branches/2.2.2-SP9_JBPAPP-1632/src/main/org/jboss/remoting.

jboss-remoting-commits at lists.jboss.org jboss-remoting-commits at lists.jboss.org
Tue Jan 20 01:51:00 EST 2009


Author: tkimura at redhat.com
Date: 2009-01-20 01:50:59 -0500 (Tue, 20 Jan 2009)
New Revision: 4841

Modified:
   remoting2/branches/2.2.2-SP9_JBPAPP-1632/src/main/org/jboss/remoting/ConnectionValidator.java
Log:
[JBPAPP-1632] Move timer valiable initialization before scheduling timer thread

Modified: remoting2/branches/2.2.2-SP9_JBPAPP-1632/src/main/org/jboss/remoting/ConnectionValidator.java
===================================================================
--- remoting2/branches/2.2.2-SP9_JBPAPP-1632/src/main/org/jboss/remoting/ConnectionValidator.java	2009-01-20 06:24:58 UTC (rev 4840)
+++ remoting2/branches/2.2.2-SP9_JBPAPP-1632/src/main/org/jboss/remoting/ConnectionValidator.java	2009-01-20 06:50:59 UTC (rev 4841)
@@ -500,9 +500,9 @@
          clientInvoker.connect();
       }
 
+      timer = new Timer(true);
       TimerUtil.schedule(this, pingPeriod);
       stopped = false;
-      timer = new Timer(true);
       log.debug(this + " started");
    }
    
@@ -701,4 +701,4 @@
          return isValid;
       }
    }
-}
\ No newline at end of file
+}




More information about the jboss-remoting-commits mailing list