You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2024/11/15 10:23:20 UTC

(tomcat) branch 11.0.x updated: Remove unnecessary code

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

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


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

commit 65388d035af1a08f202b64acec5b1c97964dc9eb
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org