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 f0b41d0c25 Add comment to aid understanding
f0b41d0c25 is described below

commit f0b41d0c2592a9880b6525c7290cd37c82619cd8
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

Reply via email to