[jboss-cvs] JBossRemoting/src/main/org/jboss/remoting ...
Clebert Suconic
csuconic at jboss.com
Thu Sep 21 12:41:32 EDT 2006
User: csuconic
Date: 06/09/21 12:41:32
Modified: src/main/org/jboss/remoting ServerInvoker.java
Log:
JBREM-602 - Proposed fix
Revision Changes Path
1.46 +5 -1 JBossRemoting/src/main/org/jboss/remoting/ServerInvoker.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ServerInvoker.java
===================================================================
RCS file: /cvsroot/jboss/JBossRemoting/src/main/org/jboss/remoting/ServerInvoker.java,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -b -r1.45 -r1.46
--- ServerInvoker.java 20 Sep 2006 04:22:26 -0000 1.45
+++ ServerInvoker.java 21 Sep 2006 16:41:32 -0000 1.46
@@ -58,7 +58,7 @@
*
* @author <a href="mailto:jhaynie at vocalocity.net">Jeff Haynie</a>
* @author <a href="mailto:tom.elrod at jboss.com">Tom Elrod</a>
- * @version $Revision: 1.45 $
+ * @version $Revision: 1.46 $
*/
public abstract class ServerInvoker extends AbstractInvoker implements ServerInvokerMBean
{
@@ -588,6 +588,10 @@
public void setLeasePeriod(long leasePeriodValue)
{
this.leasePeriod = leasePeriodValue;
+ if (leasePeriod<0)
+ {
+ this.leaseManagement=false;
+ }
}
/**
More information about the jboss-cvs-commits
mailing list