commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1129347 - /commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/plugins/PluginContext.java
Date Mon, 30 May 2011 20:15:03 GMT
Author: simonetripodi
Date: Mon May 30 20:15:03 2011
New Revision: 1129347

URL: http://svn.apache.org/viewvc?rev=1129347&view=rev
Log:
constants made private static

Modified:
    commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/plugins/PluginContext.java

Modified: commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/plugins/PluginContext.java
URL: http://svn.apache.org/viewvc/commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/plugins/PluginContext.java?rev=1129347&r1=1129346&r2=1129347&view=diff
==============================================================================
--- commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/plugins/PluginContext.java
(original)
+++ commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/plugins/PluginContext.java
Mon May 30 20:15:03 2011
@@ -48,18 +48,15 @@ import org.apache.commons.digester3.plug
 public class PluginContext
 {
 
-    // TODO: Consider making following four constants static in 2.0
-    // the xml attribute the user uses on an xml element to specify
-    // the plugin's class
-    public final String DFLT_PLUGIN_CLASS_ATTR_NS = null;
+    private static final String DFLT_PLUGIN_CLASS_ATTR_NS = null;
 
-    public final String DFLT_PLUGIN_CLASS_ATTR = "plugin-class";
+    private static final String DFLT_PLUGIN_CLASS_ATTR = "plugin-class";
 
     // the xml attribute the user uses on an xml element to specify
     // the plugin's class
-    public final String DFLT_PLUGIN_ID_ATTR_NS = null;
+    private static final String DFLT_PLUGIN_ID_ATTR_NS = null;
 
-    public final String DFLT_PLUGIN_ID_ATTR = "plugin-id";
+    private static final String DFLT_PLUGIN_ID_ATTR = "plugin-id";
 
     /** See {@link #setPluginClassAttribute}. */
     private String pluginClassAttrNs = DFLT_PLUGIN_CLASS_ATTR_NS;



Mime
View raw message