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: [email protected]
For additional commands, e-mail: [email protected]