tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1447910 - /tomcat/trunk/java/org/apache/tomcat/util/digester/FactoryCreateRule.java
Date Tue, 19 Feb 2013 20:39:01 GMT
Author: markt
Date: Tue Feb 19 20:39:01 2013
New Revision: 1447910

URL: http://svn.apache.org/r1447910
Log:
UCDetector: Remove unused constructors

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

Modified: tomcat/trunk/java/org/apache/tomcat/util/digester/FactoryCreateRule.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/digester/FactoryCreateRule.java?rev=1447910&r1=1447909&r2=1447910&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/digester/FactoryCreateRule.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/digester/FactoryCreateRule.java Tue Feb 19 20:39:01
2013
@@ -45,52 +45,6 @@ public class FactoryCreateRule extends R
     // ----------------------------------------------------------- Constructors
 
     /**
-     * Construct a factory create rule that will use the specified
-     * class name (possibly overridden by the specified attribute if present)
-     * to create an {@link ObjectCreationFactory}, which will then be used
-     * to instantiate an object instance and push it onto the stack.
-     *
-     * @param className Default Java class name of the factory class
-     * @param attributeName Attribute name which, if present, contains an
-     *  override of the class name of the object creation factory to create.
-     * @param ignoreCreateExceptions if true, exceptions thrown by the object
-     *  creation factory will be ignored.
-     */
-    public FactoryCreateRule(
-                                String className,
-                                String attributeName,
-                                boolean ignoreCreateExceptions) {
-
-        this.className = className;
-        this.attributeName = attributeName;
-        this.ignoreCreateExceptions = ignoreCreateExceptions;
-
-    }
-
-
-    /**
-     * Construct a factory create rule that will use the specified
-     * class (possibly overridden by the specified attribute if present)
-     * to create an {@link ObjectCreationFactory}, which will then be used
-     * to instantiate an object instance and push it onto the stack.
-     *
-     * @param clazz Default Java class name of the factory class
-     * @param attributeName Attribute name which, if present, contains an
-     *  override of the class name of the object creation factory to create.
-     * @param ignoreCreateExceptions if true, exceptions thrown by the object
-     *  creation factory will be ignored.
-     */
-    public FactoryCreateRule(
-                                Class<?> clazz,
-                                String attributeName,
-                                boolean ignoreCreateExceptions) {
-
-        this(clazz.getName(), attributeName, ignoreCreateExceptions);
-
-    }
-
-
-    /**
      * Construct a factory create rule using the given, already instantiated,
      * {@link ObjectCreationFactory}.
      *



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


Mime
View raw message