logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1396362 - /logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/XMLConfiguration.java
Date Tue, 09 Oct 2012 21:56:08 GMT
Author: ggregory
Date: Tue Oct  9 21:56:07 2012
New Revision: 1396362

URL: http://svn.apache.org/viewvc?rev=1396362&view=rev
Log:
Make ivar final.

Modified:
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/XMLConfiguration.java

Modified: logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/XMLConfiguration.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/XMLConfiguration.java?rev=1396362&r1=1396361&r2=1396362&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/XMLConfiguration.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/XMLConfiguration.java
Tue Oct  9 21:56:07 2012
@@ -69,7 +69,7 @@ public class XMLConfiguration extends Ba
 
     private static final int BUF_SIZE = 16384;
 
-    private List<Status> status = new ArrayList<Status>();
+    private final List<Status> status = new ArrayList<Status>();
 
     private Element rootElement = null;
 
@@ -79,9 +79,9 @@ public class XMLConfiguration extends Ba
 
     private Validator validator;
 
-    private List<String> messages = new ArrayList<String>();
+    private final List<String> messages = new ArrayList<String>();
 
-    private File configFile;
+    private final File configFile;
 
     public XMLConfiguration(InputSource source, File configFile) {
         this.configFile = configFile;



Mime
View raw message