Author: fschumacher
Date: Thu Jul 13 17:53:29 2017
New Revision: 1801857

URL: http://svn.apache.org/viewvc?rev=1801857&view=rev
Log:
Rename local variable to comply with java naming conventions.

In preparation of Bugzilla Id: 61176 (and github pr #298)

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=1801857&r1=1801856&r2=1801857&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
 Thu Jul 13 17:53:29 2017
@@ -180,7 +180,7 @@ public class CacheManager extends Config
         }
         Date expiresDate = null; // i.e. not using Expires
         if (useExpires) {// Check that we are processing Expires/CacheControl
-            final String MAX_AGE = "max-age=";
+            final String maxAge = "max-age=";
 
             if(cacheControl != null && cacheControl.contains("no-store")) {
                 // We must not store an CacheEntry, otherwise a 
@@ -193,7 +193,7 @@ public class CacheManager extends Config
             // if no-cache is present, ensure that expiresDate remains null, 
which forces revalidation
             if(cacheControl != null && !cacheControl.contains("no-cache")) {
                 expiresDate = extractExpiresDateFromCacheControl(lastModified,
-                        cacheControl, expires, etag, url, date, MAX_AGE, 
expiresDate);
+                        cacheControl, expires, etag, url, date, maxAge, 
expiresDate);
                 // else expiresDate computed in (expires!=null) condition is 
used
             }
         }


Reply via email to