tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1237982 - /tomcat/trunk/java/org/apache/catalina/CatalinaFactory.java
Date Mon, 30 Jan 2012 20:39:56 GMT
Author: markt
Date: Mon Jan 30 20:39:55 2012
New Revision: 1237982

URL: http://svn.apache.org/viewvc?rev=1237982&view=rev
Log:
Remove unused code.
Use final where appropriate.

Modified:
    tomcat/trunk/java/org/apache/catalina/CatalinaFactory.java

Modified: tomcat/trunk/java/org/apache/catalina/CatalinaFactory.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/CatalinaFactory.java?rev=1237982&r1=1237981&r2=1237982&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/CatalinaFactory.java (original)
+++ tomcat/trunk/java/org/apache/catalina/CatalinaFactory.java Mon Jan 30 20:39:55 2012
@@ -30,7 +30,7 @@ import org.apache.catalina.core.Standard
  */
 public class CatalinaFactory {
 
-    private static CatalinaFactory factory = new CatalinaFactory();
+    private static final CatalinaFactory factory = new CatalinaFactory();
 
     public static CatalinaFactory getFactory() {
         return factory;
@@ -40,14 +40,6 @@ public class CatalinaFactory {
         // Hide the default constructor
     }
 
-    /**
-     * @deprecated Unused. Will be removed in Tomcat 8.0.x.
-     */
-    @Deprecated
-    public String getDefaultPipelineClassName() {
-        return StandardPipeline.class.getName();
-    }
-
     public Pipeline createPipeline(Container container) {
         Pipeline pipeline = new StandardPipeline();
         pipeline.setContainer(container);



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


Mime
View raw message