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 <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]