jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1509975 - /jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/KerberosManager.java
Date Sat, 03 Aug 2013 12:44:35 GMT
Author: sebb
Date: Sat Aug  3 12:44:34 2013
New Revision: 1509975

URL: http://svn.apache.org/r1509975
Log:
Immutable private fields should be final

Modified:
    jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/KerberosManager.java

Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/KerberosManager.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/KerberosManager.java?rev=1509975&r1=1509974&r2=1509975&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/KerberosManager.java
(original)
+++ jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/KerberosManager.java
Sat Aug  3 12:44:34 2013
@@ -102,8 +102,8 @@ public class KerberosManager implements 
     }
 
     static private class LoginCallbackHandler implements CallbackHandler {
-        private String password;
-        private String username;
+        private final String password;
+        private final String username;
 
         public LoginCallbackHandler(final String username, final String password) {
             super();



Mime
View raw message