This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 9.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push: new c3d7d164c1 Simplify (aligns with similar usages) c3d7d164c1 is described below commit c3d7d164c1900a3eeaff6c50891277800d94efe7 Author: Mark Thomas <ma...@apache.org> AuthorDate: Mon Nov 6 16:07:49 2023 +0000 Simplify (aligns with similar usages) --- java/org/apache/coyote/http11/Http11Processor.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/java/org/apache/coyote/http11/Http11Processor.java b/java/org/apache/coyote/http11/Http11Processor.java index d3bc2a8f37..1595750932 100644 --- a/java/org/apache/coyote/http11/Http11Processor.java +++ b/java/org/apache/coyote/http11/Http11Processor.java @@ -902,8 +902,7 @@ public class Http11Processor extends AbstractProcessor { } } - MessageBytes methodMB = request.method(); - if (methodMB.equals("HEAD")) { + if (request.method().equals("HEAD")) { // No entity body outputBuffer.addActiveFilter(outputFilters[Constants.VOID_FILTER]); contentDelimitation = true; --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org