Skip to content

Commit

Permalink
Rename local variable to comply with java naming conventions.
Browse files Browse the repository at this point in the history
In preparation of Bugzilla Id: 61176 (and github pr #298)


git-svn-id: https://svn.apache.org/repos/asf/jmeter/trunk@1801857 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
FSchumacher committed Jul 13, 2017
1 parent 2f70a77 commit 1fca892
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ private void setCache(String lastModified, String cacheControl, String expires,
}
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
Expand All @@ -193,7 +193,7 @@ private void setCache(String lastModified, String cacheControl, String expires,
// 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
}
}
Expand Down

0 comments on commit 1fca892

Please sign in to comment.