svn commit: r1799269 - /tomcat/tc8.5.x/trunk/java/org/apache/coyote/Response.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1799269 - /tomcat/tc8.5.x/trunk/java/org/apache/coyote/Response.java

markt
Author: markt
Date: Mon Jun 19 19:50:09 2017
New Revision: 1799269

URL: http://svn.apache.org/viewvc?rev=1799269&view=rev
Log:
Remove unnecessary code after refactoring

Modified:
    tomcat/tc8.5.x/trunk/java/org/apache/coyote/Response.java

Modified: tomcat/tc8.5.x/trunk/java/org/apache/coyote/Response.java
URL: http://svn.apache.org/viewvc/tomcat/tc8.5.x/trunk/java/org/apache/coyote/Response.java?rev=1799269&r1=1799268&r2=1799269&view=diff
==============================================================================
--- tomcat/tc8.5.x/trunk/java/org/apache/coyote/Response.java (original)
+++ tomcat/tc8.5.x/trunk/java/org/apache/coyote/Response.java Mon Jun 19 19:50:09 2017
@@ -406,10 +406,6 @@ public final class Response {
      */
     @Deprecated
     public void setCharacterEncoding(String charset) {
-        if (charset == null) {
-            return;
-        }
-
         try {
             setCharset(charset);
         } catch (UnsupportedEncodingException e) {



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]