Author: markt
Date: Thu Aug 16 19:18:15 2012
New Revision: 1373987
URL: http://svn.apache.org/viewvc?rev=1373987&view=rev
Log:
UCDectector
- Deprecate 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=1373987&r1=1373986&r2=1373987&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:15
2012
@@ -254,30 +254,46 @@ public final class Constants {
/**
* 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]