jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1361558 - /jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/CacheManager.java
Date Sat, 14 Jul 2012 16:12:33 GMT
Author: sebb
Date: Sat Jul 14 16:12:32 2012
New Revision: 1361558

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

Modified:
    jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/CacheManager.java

Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/CacheManager.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/CacheManager.java?rev=1361558&r1=1361557&r2=1361558&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/CacheManager.java
(original)
+++ jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/CacheManager.java
Sat Jul 14 16:12:32 2012
@@ -193,10 +193,8 @@ public class CacheManager extends Config
                                 .split("[, ]")[0] // Bug 51932 - allow for optional trailing
attributes
                             );
                     expiresDate=new Date(System.currentTimeMillis()+maxAgeInSecs*1000);
-                }   
-                // No max-age && No expires => store forever
-                else if(expires==null) {
-                    // No max-age
+
+                } else if(expires==null) { // No max-age && No expires
                     if(!StringUtils.isEmpty(lastModified)) {
                         try {
                             Date responseDate = DateUtil.parseDate( date );



Mime
View raw message