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

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


The following commit(s) were added to refs/heads/main by this push:
     new 55ae2920ab Remove unnecessary code
55ae2920ab is described below

commit 55ae2920abd7c1895fead33a3f559d994b38ed96
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 358765c27d..e00b9a7e76 100644
--- a/java/org/apache/coyote/Response.java
+++ b/java/org/apache/coyote/Response.java
@@ -574,8 +574,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