jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1818767 - in /jmeter/trunk/src/protocol: http/org/apache/jmeter/protocol/http/control/HC4CookieHandler.java jdbc/org/apache/jmeter/protocol/jdbc/config/DataSourceElementBeanInfo.java
Date Wed, 20 Dec 2017 09:53:17 GMT
Author: pmouawad
Date: Wed Dec 20 09:53:17 2017
New Revision: 1818767

URL: http://svn.apache.org/viewvc?rev=1818767&view=rev
Log:
Added finals to fields where possible
Contributed by Graham Russell
This closes #359

Modified:
    jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/HC4CookieHandler.java
    jmeter/trunk/src/protocol/jdbc/org/apache/jmeter/protocol/jdbc/config/DataSourceElementBeanInfo.java

Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/HC4CookieHandler.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/HC4CookieHandler.java?rev=1818767&r1=1818766&r2=1818767&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/HC4CookieHandler.java
(original)
+++ jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/HC4CookieHandler.java
Wed Dec 20 09:53:17 2017
@@ -71,7 +71,7 @@ public class HC4CookieHandler implements
 
     private final transient CookieSpec cookieSpec;
     
-    private static PublicSuffixMatcher publicSuffixMatcher = PublicSuffixMatcherLoader.getDefault();
+    private static final PublicSuffixMatcher publicSuffixMatcher = PublicSuffixMatcherLoader.getDefault();
     private static Registry<CookieSpecProvider> registry  = 
             RegistryBuilder.<CookieSpecProvider>create()
             // case is ignored bug registry as it converts to lowerCase(Locale.US)

Modified: jmeter/trunk/src/protocol/jdbc/org/apache/jmeter/protocol/jdbc/config/DataSourceElementBeanInfo.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/jdbc/org/apache/jmeter/protocol/jdbc/config/DataSourceElementBeanInfo.java?rev=1818767&r1=1818766&r2=1818767&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/jdbc/org/apache/jmeter/protocol/jdbc/config/DataSourceElementBeanInfo.java
(original)
+++ jmeter/trunk/src/protocol/jdbc/org/apache/jmeter/protocol/jdbc/config/DataSourceElementBeanInfo.java
Wed Dec 20 09:53:17 2017
@@ -37,7 +37,7 @@ import org.slf4j.LoggerFactory;
 
 public class DataSourceElementBeanInfo extends BeanInfoSupport {
     private static final Logger log = LoggerFactory.getLogger(DataSourceElementBeanInfo.class);
-    private static Map<String,Integer> TRANSACTION_ISOLATION_MAP = new HashMap<>(5);
+    private static final Map<String,Integer> TRANSACTION_ISOLATION_MAP = new HashMap<>(5);
     static {
         // Will use default isolation
         TRANSACTION_ISOLATION_MAP.put("DEFAULT", Integer.valueOf(-1));



Mime
View raw message