You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2012/10/23 14:25:59 UTC

svn commit: r1401271 - /tomcat/sandbox/trunk-resources/java/org/apache/catalina/webresources/Cache.java

Author: markt
Date: Tue Oct 23 12:25:58 2012
New Revision: 1401271

URL: http://svn.apache.org/viewvc?rev=1401271&view=rev
Log:
Fix test

Modified:
    tomcat/sandbox/trunk-resources/java/org/apache/catalina/webresources/Cache.java

Modified: tomcat/sandbox/trunk-resources/java/org/apache/catalina/webresources/Cache.java
URL: http://svn.apache.org/viewvc/tomcat/sandbox/trunk-resources/java/org/apache/catalina/webresources/Cache.java?rev=1401271&r1=1401270&r2=1401271&view=diff
==============================================================================
--- tomcat/sandbox/trunk-resources/java/org/apache/catalina/webresources/Cache.java (original)
+++ tomcat/sandbox/trunk-resources/java/org/apache/catalina/webresources/Cache.java Tue Oct 23 12:25:58 2012
@@ -142,7 +142,7 @@ public class Cache {
 
         long newSize = size.get();
 
-        while (targetSize > newSize && iter.hasNext()) {
+        while (newSize > targetSize && iter.hasNext()) {
             CachedResource resource = iter.next();
 
             // Don't expire anything that has been checked within the TTL



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org