jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fschumac...@apache.org
Subject svn commit: r1767070 - /jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/CssParser.java
Date Fri, 28 Oct 2016 19:52:31 GMT
Author: fschumacher
Date: Fri Oct 28 19:52:30 2016
New Revision: 1767070

URL: http://svn.apache.org/viewvc?rev=1767070&view=rev
Log:
Constants should be final

Modified:
    jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/CssParser.java

Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/CssParser.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/CssParser.java?rev=1767070&r1=1767069&r2=1767070&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/CssParser.java (original)
+++ jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/CssParser.java Fri
Oct 28 19:52:30 2016
@@ -67,7 +67,7 @@ public class CssParser implements LinkEx
      *
      */
     @SuppressWarnings("unchecked")
-    private static Map<String, URLCollection> CSS_URL_CACHE =
+    private static final Map<String, URLCollection> CSS_URL_CACHE =
             CSS_URL_CACHE_MAX_SIZE > 0 ? Collections.synchronizedMap(new LRUMap(CSS_URL_CACHE_MAX_SIZE))
: null;
 
 



Mime
View raw message