You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2010/11/01 11:14:10 UTC

svn commit: r1029595 - /commons/proper/email/trunk/src/java/org/apache/commons/mail/DefaultAuthenticator.java

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