User: jules_gosnell
  Date: 02/01/14 14:25:19

  Modified:    jetty/src/main/org/jboss/jetty/util NaiveTimeOutManager.java
  Log:
  another step closer to working DistributedHttpSession. It now passes Watchdog with 
only 2 errors
  - the same as standalone Jetty.
  Update jars from Jetty cvs - I need a fix for the Session stuff to work
  
  Revision  Changes    Path
  1.3       +4 -4      
contrib/jetty/src/main/org/jboss/jetty/util/NaiveTimeOutManager.java
  
  Index: NaiveTimeOutManager.java
  ===================================================================
  RCS file: 
/cvsroot/jboss/contrib/jetty/src/main/org/jboss/jetty/util/NaiveTimeOutManager.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- NaiveTimeOutManager.java  2002/01/13 21:30:14     1.2
  +++ NaiveTimeOutManager.java  2002/01/14 22:25:18     1.3
  @@ -5,7 +5,7 @@
    * See terms of license at gnu.org.
    */
   
  -// $Id: NaiveTimeOutManager.java,v 1.2 2002/01/13 21:30:14 jules_gosnell Exp $
  +// $Id: NaiveTimeOutManager.java,v 1.3 2002/01/14 22:25:18 jules_gosnell Exp $
   
   //------------------------------------------------------------------------------
   
  @@ -63,7 +63,7 @@
     public synchronized void
       register(Object object, long timeRegistered, long maxInactiveInterval)
       {
  -      if (maxInactiveInterval<0)
  +      if (maxInactiveInterval<1)
        return;                 // never timeout
   
         Entry entry=new Entry(object, maxInactiveInterval);
  @@ -143,7 +143,7 @@
   
         long now=System.currentTimeMillis();
   
  -      //      System.err.println("Sweeping...");
  +      //System.out.println("Sweeping...");
   
         Iterator i=copy.iterator();
         while (i.hasNext())
  @@ -162,6 +162,6 @@
          }
        }
         }
  -      //System.err.println("Sweeping...done");
  +      //System.out.println("Sweeping...done");
      }
   }
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to