logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1423979 - /logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/plugins/PluginType.java
Date Wed, 19 Dec 2012 17:42:24 GMT
Author: ggregory
Date: Wed Dec 19 17:42:23 2012
New Revision: 1423979

URL: http://svn.apache.org/viewvc?rev=1423979&view=rev
Log:
Make ivars immutable.

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

Modified: logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/plugins/PluginType.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/plugins/PluginType.java?rev=1423979&r1=1423978&r2=1423979&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/plugins/PluginType.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/plugins/PluginType.java
Wed Dec 19 17:42:23 2012
@@ -30,8 +30,8 @@ public class PluginType<T> implements Se
     
     private final Class<T> pluginClass;
     private final String elementName;
-    private boolean printObject = false;
-    private boolean deferChildren = false;
+    private final boolean printObject;
+    private final boolean deferChildren;
 
     public PluginType(final Class<T> clazz, final String name, final boolean printObj,
final boolean deferChildren) {
         this.pluginClass = clazz;



Mime
View raw message