tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1793802 - /tomcat/trunk/java/org/apache/catalina/connector/InputBuffer.java
Date Thu, 04 May 2017 13:57:00 GMT
Author: markt
Date: Thu May  4 13:57:00 2017
New Revision: 1793802

URL: http://svn.apache.org/viewvc?rev=1793802&view=rev
Log:
Deprecate unused method

Modified:
    tomcat/trunk/java/org/apache/catalina/connector/InputBuffer.java

Modified: tomcat/trunk/java/org/apache/catalina/connector/InputBuffer.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/connector/InputBuffer.java?rev=1793802&r1=1793801&r2=1793802&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/connector/InputBuffer.java (original)
+++ tomcat/trunk/java/org/apache/catalina/connector/InputBuffer.java Thu May  4 13:57:00 2017
@@ -387,6 +387,12 @@ public class InputBuffer extends Reader
     // ------------------------------------------------- Chars Handling Methods
 
 
+    /**
+     * @param s     New encoding value
+     *
+     * @deprecated This method will be removed in Tomcat 9.0.x
+     */
+    @Deprecated
     public void setEncoding(String s) {
         enc = s;
     }



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


Mime
View raw message