logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From grobme...@apache.org
Subject svn commit: r1565813 - /logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/config/JSONConfiguration.java
Date Fri, 07 Feb 2014 21:00:28 GMT
Author: grobmeier
Date: Fri Feb  7 21:00:28 2014
New Revision: 1565813

URL: http://svn.apache.org/r1565813
Log:
field can be local

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

Modified: logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/config/JSONConfiguration.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/config/JSONConfiguration.java?rev=1565813&r1=1565812&r2=1565813&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/config/JSONConfiguration.java
(original)
+++ logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/config/JSONConfiguration.java
Fri Feb  7 21:00:28 2014
@@ -58,11 +58,11 @@ public class JSONConfiguration extends B
 
     private JsonNode root;
 
-    private final List<String> messages = new ArrayList<String>();
-
     private final File configFile;
 
     public JSONConfiguration(final ConfigurationFactory.ConfigurationSource configSource)
{
+        final List<String> messages = new ArrayList<String>();
+
         this.configFile = configSource.getFile();
         byte[] buffer;
 



Mime
View raw message