You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2013/11/18 10:30:43 UTC

svn commit: r1542957 - /tomcat/trunk/java/org/apache/tomcat/util/digester/Digester.java

Author: markt
Date: Mon Nov 18 09:30:43 2013
New Revision: 1542957

URL: http://svn.apache.org/r1542957
Log:
Remove unused code

Modified:
    tomcat/trunk/java/org/apache/tomcat/util/digester/Digester.java

Modified: tomcat/trunk/java/org/apache/tomcat/util/digester/Digester.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/digester/Digester.java?rev=1542957&r1=1542956&r2=1542957&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/digester/Digester.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/digester/Digester.java Mon Nov 18 09:30:43 2013
@@ -1820,38 +1820,8 @@ public class Digester extends DefaultHan
         log = LogFactory.getLog("org.apache.tomcat.util.digester.Digester");
         saxLog = LogFactory.getLog("org.apache.tomcat.util.digester.Digester.sax");
 
-        // Perform lazy configuration as needed
-        initialize(); // call hook method for subclasses that want to be initialized once only
-        // Nothing else required by default
-
         // Set the configuration flag to avoid repeating
         configured = true;
-
-    }
-
-    /**
-     * <p>
-     * Provides a hook for lazy initialization of this <code>Digester</code>
-     * instance.
-     * The default implementation does nothing, but subclasses
-     * can override as needed.
-     * Digester (by default) only calls this method once.
-     * </p>
-     *
-     * <p>
-     * <strong>Note</strong> This method will be called by {@link #configure}
-     * only when the {@link #configured} flag is false.
-     * Subclasses that override <code>configure</code> or who set <code>configured</code>
-     * may find that this method may be called more than once.
-     * </p>
-     *
-     * @since 1.6
-     */
-    protected void initialize() {
-
-        // Perform lazy initialization as needed
-        // Nothing required by default
-
     }
 
 



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org