You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by fs...@apache.org on 2016/10/28 19:52:31 UTC
svn commit: r1767070 -
/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/CssParser.java
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;