ppkarwasz commented on code in PR #779:
URL: https://github.com/apache/commons-io/pull/779#discussion_r2329730820
##########
src/main/java/org/apache/commons/io/input/BoundedInputStream.java:
##########
@@ -405,9 +399,9 @@ public synchronized long getCount() {
}
/**
- * Gets the max count of bytes to read.
+ * Returns the maximum number of bytes this stream is allowed to read.
Review Comment:
Fixed in
https://github.com/apache/commons-io/pull/779/commits/c831b562f656559e246da43197cf8fe7d5751f45
##########
src/main/java/org/apache/commons/io/input/BoundedInputStream.java:
##########
@@ -405,9 +399,9 @@ public synchronized long getCount() {
}
/**
- * Gets the max count of bytes to read.
+ * Returns the maximum number of bytes this stream is allowed to read.
*
- * @return The max count of bytes to read.
+ * @return the maximum number of bytes permitted, or {@value IOUtils#EOF}
if unbounded.
Review Comment:
Fixed in
https://github.com/apache/commons-io/pull/779/commits/c831b562f656559e246da43197cf8fe7d5751f45
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]