Author: markt
Date: Mon Jan 30 20:41:15 2012
New Revision: 1237985
URL: http://svn.apache.org/viewvc?rev=1237985&view=rev
Log:
Deprecate unused code
Modified:
tomcat/trunk/java/org/apache/catalina/Container.java
Modified: tomcat/trunk/java/org/apache/catalina/Container.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/Container.java?rev=1237985&r1=1237984&r2=1237985&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/Container.java (original)
+++ tomcat/trunk/java/org/apache/catalina/Container.java Mon Jan 30 20:41:15
2012
@@ -99,7 +99,9 @@ public interface Container extends Lifec
/**
* The ContainerEvent event type sent when a Mapper is added
* by <code>addMapper()</code>.
+ * @deprecated Unused. Will be removed in Tomcat 8.0.x.
*/
+ @Deprecated
public static final String ADD_MAPPER_EVENT = "addMapper";
@@ -120,7 +122,9 @@ public interface Container extends Lifec
/**
* The ContainerEvent event type sent when a Mapper is removed
* by <code>removeMapper()</code>.
+ * @deprecated Unused. Will be removed in Tomcat 8.0.x.
*/
+ @Deprecated
public static final String REMOVE_MAPPER_EVENT = "removeMapper";
@@ -399,7 +403,10 @@ public interface Container extends Lifec
* processing
* @exception ServletException if a ServletException was thrown
* while processing this request
+ *
+ * @deprecated Unused. Will be removed in Tomcat 8.0.x.
*/
+ @Deprecated
public void invoke(Request request, Response response)
throws IOException, ServletException;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]