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 da9720311a Add comment to aid understanding da9720311a is described below commit da9720311a53d9052f15dbe0db8dd80ccae02d40 Author: Mark Thomas <ma...@apache.org> AuthorDate: Wed Aug 9 18:33:46 2023 +0100 Add comment to aid understanding --- java/org/apache/catalina/connector/CoyoteReader.java | 1 + 1 file changed, 1 insertion(+) diff --git a/java/org/apache/catalina/connector/CoyoteReader.java b/java/org/apache/catalina/connector/CoyoteReader.java index 194953cdaf..da6bc3a875 100644 --- a/java/org/apache/catalina/connector/CoyoteReader.java +++ b/java/org/apache/catalina/connector/CoyoteReader.java @@ -187,6 +187,7 @@ public class CoyoteReader extends BufferedReader { pos = 0; } else { reset(); + // No need to check return value. We know there are at least skip characters available. skip(skip); } } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org