tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1401271 - /tomcat/sandbox/trunk-resources/java/org/apache/catalina/webresources/Cache.java
Date Tue, 23 Oct 2012 12:25:59 GMT
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


Mime
View raw message