Author: markt
Date: Thu May 4 20:23:11 2017
New Revision: 1793891
URL: http://svn.apache.org/viewvc?rev=1793891&view=rev
Log:
Deprecate unused code
Modified:
tomcat/trunk/java/org/apache/tomcat/util/http/Parameters.java
Modified: tomcat/trunk/java/org/apache/tomcat/util/http/Parameters.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/http/Parameters.java?rev=1793891&r1=1793890&r2=1793891&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/http/Parameters.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/http/Parameters.java Thu May 4
20:23:11 2017
@@ -229,6 +229,10 @@ public final class Parameters {
private final ByteChunk tmpValue=new ByteChunk();
private final ByteChunk origName=new ByteChunk();
private final ByteChunk origValue=new ByteChunk();
+ /**
+ * @deprecated This will be removed in Tomcat 9.0.x
+ */
+ @Deprecated
public static final String DEFAULT_ENCODING = "ISO-8859-1";
private static final Charset DEFAULT_BODY_CHARSET =
StandardCharsets.ISO_8859_1;
private static final Charset DEFAULT_URI_CHARSET = StandardCharsets.UTF_8;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]