[jboss-remoting-commits] JBoss Remoting SVN: r5442 - remoting2/branches/2.x/src/main/org/jboss/remoting.

jboss-remoting-commits at lists.jboss.org jboss-remoting-commits at lists.jboss.org
Wed Sep 2 21:50:09 EDT 2009


Author: ron.sigal at jboss.com
Date: 2009-09-02 21:50:09 -0400 (Wed, 02 Sep 2009)
New Revision: 5442

Modified:
   remoting2/branches/2.x/src/main/org/jboss/remoting/Lease.java
Log:
JBREM-1150: Changed test in updateLease() from > to >=.

Modified: remoting2/branches/2.x/src/main/org/jboss/remoting/Lease.java
===================================================================
--- remoting2/branches/2.x/src/main/org/jboss/remoting/Lease.java	2009-09-03 01:48:37 UTC (rev 5441)
+++ remoting2/branches/2.x/src/main/org/jboss/remoting/Lease.java	2009-09-03 01:50:09 UTC (rev 5442)
@@ -109,7 +109,7 @@
                String timeString = (String) requestMap.get(LeasePinger.TIME_STAMP);
                time = Long.valueOf(timeString).longValue();
                if (isTraceEnabled) log.trace(this + " last update: " + lastUpdate + ", this update: " + time);
-               if (time > lastUpdate)
+               if (time >= lastUpdate)
                {
                   lastUpdate = time;
                   doUpdate(requestMap);



More information about the jboss-remoting-commits mailing list