commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1029595 - /commons/proper/email/trunk/src/java/org/apache/commons/mail/DefaultAuthenticator.java
Date Mon, 01 Nov 2010 10:14:10 GMT
Author: sebb
Date: Mon Nov  1 10:14:10 2010
New Revision: 1029595

URL: http://svn.apache.org/viewvc?rev=1029595&view=rev
Log:
private immutable field might as well be final

Modified:
    commons/proper/email/trunk/src/java/org/apache/commons/mail/DefaultAuthenticator.java

Modified: commons/proper/email/trunk/src/java/org/apache/commons/mail/DefaultAuthenticator.java
URL: http://svn.apache.org/viewvc/commons/proper/email/trunk/src/java/org/apache/commons/mail/DefaultAuthenticator.java?rev=1029595&r1=1029594&r2=1029595&view=diff
==============================================================================
--- commons/proper/email/trunk/src/java/org/apache/commons/mail/DefaultAuthenticator.java
(original)
+++ commons/proper/email/trunk/src/java/org/apache/commons/mail/DefaultAuthenticator.java
Mon Nov  1 10:14:10 2010
@@ -30,7 +30,7 @@ import javax.mail.PasswordAuthentication
 public class DefaultAuthenticator extends Authenticator
 {
     /** Stores the login information for authentication */
-    private PasswordAuthentication authentication;
+    private final PasswordAuthentication authentication;
 
     /**
      * Default constructor



Mime
View raw message