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 5f07ffff68 Simplify (aligns with similar usages) 5f07ffff68 is described below commit 5f07ffff6823fe87939ff021a16c9cd9f052f13e 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 5b84ec3cc7..1f4ccb94b5 100644 --- a/java/org/apache/coyote/http11/Http11Processor.java +++ b/java/org/apache/coyote/http11/Http11Processor.java @@ -903,8 +903,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