Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Commit bdb9f8b9095004703666675591c3c3de30e7c03a renamed the field `buf` to `buffer`. This causes name shadowing in `UnsynchronizedBufferedInputStream.read(byte[], int, int)`: the field buffer is shadowed by the parameter `buffer`.
I cannot see any usage of the field `buffer` in the whole method.
Also the test class `UnsynchronizedBufferedInputStreamTest` seems to largely test `BufferedInputStream` ...