[jboss-cvs] JBossRemoting/src/main/org/jboss/remoting ...

Ron Sigal ron_sigal at yahoo.com
Sat Aug 4 16:39:14 EDT 2007


  User: rsigal  
  Date: 07/08/04 16:39:14

  Modified:    src/main/org/jboss/remoting  Tag: remoting_2_2_0_GA
                        LeasePinger.java
  Log:
  JBREM-783:  Remove and replace ClientHolder in removeClient().
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.8.2.12.2.2 +2 -0      JBossRemoting/src/main/org/jboss/remoting/LeasePinger.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: LeasePinger.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossRemoting/src/main/org/jboss/remoting/LeasePinger.java,v
  retrieving revision 1.8.2.12.2.1
  retrieving revision 1.8.2.12.2.2
  diff -u -b -r1.8.2.12.2.1 -r1.8.2.12.2.2
  --- LeasePinger.java	2 Aug 2007 06:32:23 -0000	1.8.2.12.2.1
  +++ LeasePinger.java	4 Aug 2007 20:39:14 -0000	1.8.2.12.2.2
  @@ -160,6 +160,7 @@
         
         boolean isLastClientLease = false;
   
  +      ClientHolder holder = (ClientHolder)clients.remove(sessionID);
         if(trace) { log.trace(this + " removing client with session ID " + sessionID); }
         
         if (clients.isEmpty())
  @@ -199,6 +200,7 @@
            }
   
         }
  +      clients.put(sessionID, holder);
         return isLastClientLease;
      }
      
  
  
  



More information about the jboss-cvs-commits mailing list