This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 8.5.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/8.5.x by this push:
new 2689928f0b Add comment to aid understanding
2689928f0b is described below
commit 2689928f0b9d9cd1ce43bdb39fa7593022a8fa79
Author: Mark Thomas <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]