You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/java/org/apache/commons/io/input/BoundedInputStream.java
+38-37Lines changed: 38 additions & 37 deletions
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,6 @@
18
18
19
19
importstaticorg.apache.commons.io.IOUtils.EOF;
20
20
21
-
importjava.io.FilterInputStream;
22
21
importjava.io.IOException;
23
22
importjava.io.InputStream;
24
23
@@ -28,16 +27,16 @@
28
27
/**
29
28
* Reads bytes up to a maximum length, if its count goes above that, it stops.
30
29
* <p>
31
-
* This is useful to wrap ServletInputStreams. The ServletInputStream will block if you try to read content from it that isn't there, because it doesn't know
32
-
* whether the content hasn't arrived yet or whether the content has finished. So, one of these, initialized with the Content-length sent in the
33
-
* ServletInputStream's header, will stop it blocking, providing it's been sent with a correct content length.
30
+
* This is useful to wrap {@code ServletInputStream}s. The {@code ServletInputStream} will block if you try to read content from it that isn't there, because it
31
+
* doesn't know whether the content hasn't arrived yet or whether the content has finished. So, one of these, initialized with the {@code Content-Length} sent
32
+
* in the {@code ServletInputStream}'s header, will stop it blocking, providing it's been sent with a correct content length.
0 commit comments