This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/10.1.x by this push:
     new b35dc7ffcf Remove unnecessary code
b35dc7ffcf is described below

commit b35dc7ffcf69d0089c8696d8419f6f1244908def
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Fri Nov 15 09:45:55 2024 +0000

    Remove unnecessary code
---
 java/org/apache/coyote/Response.java | 2 --
 1 file changed, 2 deletions(-)

diff --git a/java/org/apache/coyote/Response.java 
b/java/org/apache/coyote/Response.java
index afa0841554..2f06fe440c 100644
--- a/java/org/apache/coyote/Response.java
+++ b/java/org/apache/coyote/Response.java
@@ -565,8 +565,6 @@ public final class Response {
             return;
         }
 
-        this.contentType = m.toStringNoCharset();
-
         String charsetValue = m.getCharset();
 
         if (charsetValue == null) {


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

Reply via email to