Re: RFR: 8281728: Redundant null check in LineNumberInputStream.read

2022-02-14 Thread Claes Redestad
On Wed, 9 Feb 2022 18:51:22 GMT, Andrey Turbanov wrote: > At start of method `b` is already checked for null. > > https://github.com/openjdk/jdk/blob/178b962e01cc6c150442bf41dc6bd199caff0042/src/java.base/share/classes/java/io/LineNumberInputStream.java#L129-L131 Looks good. The surrounding cod

RFR: 8281728: Redundant null check in LineNumberInputStream.read

2022-02-14 Thread Andrey Turbanov
At start of method `b` is already checked for null. https://github.com/openjdk/jdk/blob/178b962e01cc6c150442bf41dc6bd199caff0042/src/java.base/share/classes/java/io/LineNumberInputStream.java#L129-L131 - Commit messages: - [PATCH] Remove redundant null check in LineNumberInputStream