logging-commits mailing list archives

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

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

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=1396367&r1=1396366&r2=1396367&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
Tue Oct  9 21:58:56 2012
@@ -24,8 +24,8 @@ import java.io.Serializable;
  */
 public class PluginType implements Serializable {
 
-    private Class pluginClass;
-    private String elementName;
+    private final Class pluginClass;
+    private final String elementName;
     private boolean printObject = false;
     private boolean deferChildren = false;
 



Mime
View raw message