RFR 8139206: Add InputStream readNBytes(int len) (original) (raw)
Alan Bateman Alan.Bateman at oracle.com
Mon Jan 22 09:14:59 UTC 2018
- Previous message: RFR 8139206: Add InputStream readNBytes(int len)
- Next message: RFR 8139206: Add InputStream readNBytes(int len)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 22/01/2018 08:44, Peter Levart wrote:
The delegation to public method (readAllBytes -> readNBytes) should then be documented so that subclasses know that overriding readNBytes, if needed, is sufficient. It doesn't delegate in the latest version of the patch so the documentation is right. However, I think you bring up a good point as specifying it that way means that sub-classes need only override readNBytes.
-Alan
- Previous message: RFR 8139206: Add InputStream readNBytes(int len)
- Next message: RFR 8139206: Add InputStream readNBytes(int len)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]