Author: tkimura(a)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
+}
Show replies by date