Author: markt
Date: Thu Aug 16 19:18:49 2012
New Revision: 1373988
URL: http://svn.apache.org/viewvc?rev=1373988&view=rev
Log:
Remove unused code
Modified:
tomcat/trunk/java/org/apache/coyote/ajp/Constants.java
Modified: tomcat/trunk/java/org/apache/coyote/ajp/Constants.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/ajp/Constants.java?rev=1373988&r1=1373987&r2=1373988&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/ajp/Constants.java (original)
+++ tomcat/trunk/java/org/apache/coyote/ajp/Constants.java Thu Aug 16 19:18:49
2012
@@ -18,8 +18,6 @@ package org.apache.coyote.ajp;
import java.util.Hashtable;
-import org.apache.tomcat.util.buf.ByteChunk;
-
/**
* Constants.
*
@@ -250,50 +248,4 @@ public final class Constants {
* CRLF.
*/
public static final String CRLF = "\r\n";
-
-
- /**
- * Server string.
- * @deprecated Unused - will be removed in 8.0.x
- */
- @Deprecated
- public static final byte[] SERVER_BYTES =
- ByteChunk.convertToBytes("Server: Apache-Coyote/1.1" + CRLF);
-
-
- /**
- * 'A'.
- * @deprecated Unused - will be removed in 8.0.x
- */
- @Deprecated
- public static final byte A = (byte) 'A';
-
-
- /**
- * 'a'.
- * @deprecated Unused - will be removed in 8.0.x
- */
- @Deprecated
- public static final byte a = (byte) 'a';
-
-
- /* Various constant "strings" */
- /**
- * @deprecated Unused - will be removed in 8.0.x
- */
- @Deprecated
- public static final String CLOSE = "close";
- /**
- * @deprecated Unused - will be removed in 8.0.x
- */
- @Deprecated
- public static final String KEEPALIVE = "keep-alive";
-
-
- /**
- * HTTP/1.1.
- * @deprecated Unused - will be removed in 8.0.x
- */
- @Deprecated
- public static final String HTTP_11 = "HTTP/1.1";
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]