logging-commits mailing list archives

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

URL: http://svn.apache.org/viewvc?rev=1396360&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=1396360&r1=1396359&r2=1396360&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:55:11 2012
@@ -321,9 +321,9 @@ public class XMLConfiguration extends Ba
      * Status for recording errors.
      */
     private class Status {
-        private Element element;
-        private String name;
-        private ErrorType errorType;
+        private final Element element;
+        private final String name;
+        private final ErrorType errorType;
 
         public Status(String name, Element element, ErrorType errorType) {
             this.name = name;



Mime
View raw message