commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1075405 - /commons/proper/email/trunk/src/java/org/apache/commons/mail/impl/DataSourceResolverImpl.java
Date Mon, 28 Feb 2011 16:18:27 GMT
Author: sebb
Date: Mon Feb 28 16:18:26 2011
New Revision: 1075405

URL: http://svn.apache.org/viewvc?rev=1075405&view=rev
Log:
Might as well make private write-once fields final

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

Modified: commons/proper/email/trunk/src/java/org/apache/commons/mail/impl/DataSourceResolverImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/email/trunk/src/java/org/apache/commons/mail/impl/DataSourceResolverImpl.java?rev=1075405&r1=1075404&r2=1075405&view=diff
==============================================================================
--- commons/proper/email/trunk/src/java/org/apache/commons/mail/impl/DataSourceResolverImpl.java
(original)
+++ commons/proper/email/trunk/src/java/org/apache/commons/mail/impl/DataSourceResolverImpl.java
Mon Feb 28 16:18:26 2011
@@ -32,10 +32,10 @@ import java.net.URL;
 public class DataSourceResolverImpl implements DataSourceResolver
 {
     /**  the base url of the resource when resolving relative paths */
-    private URL baseUrl;
+    private final URL baseUrl;
 
     /** shall we ignore resources not found or complain with an exception */
-    private boolean isLenient;
+    private final boolean isLenient;
 
     /**
      * Constructor.



Mime
View raw message