commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rwaldh...@apache.org
Subject cvs commit: jakarta-commons/pool/src/java/org/apache/commons/pool/impl GenericObjectPool.java
Date Wed, 30 Oct 2002 00:55:06 GMT
rwaldhoff    2002/10/29 16:55:06

  Modified:    pool/src/java/org/apache/commons/pool/impl
                        GenericObjectPool.java
  Log:
  fix bugzilla bug #12841 -- use sleeptime instead of _timeBetweenEvictionRunsMillis in sleep
call, in case _timeBetweenEvictionRuns is changing
  
  Revision  Changes    Path
  1.8       +5 -5      jakarta-commons/pool/src/java/org/apache/commons/pool/impl/GenericObjectPool.java
  
  Index: GenericObjectPool.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/pool/src/java/org/apache/commons/pool/impl/GenericObjectPool.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- GenericObjectPool.java	5 Sep 2002 18:10:06 -0000	1.7
  +++ GenericObjectPool.java	30 Oct 2002 00:55:06 -0000	1.8
  @@ -899,7 +899,7 @@
                       sleeptime = _timeBetweenEvictionRunsMillis;
                   }
                   try {
  -                    Thread.currentThread().sleep(_timeBetweenEvictionRunsMillis);
  +                    Thread.currentThread().sleep(sleeptime);
                   } catch(Exception e) {
                       ; // ignored
                   }
  
  
  

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message