RFR: 8291956: Simplify the loop condition in sun.net.httpserver.Request constructor [v5]

Daniel Fuchs dfuchs at openjdk.org
Mon Aug 8 09:32:08 UTC 2022


On Fri, 5 Aug 2022 23:02:15 GMT, thyecust <duke at openjdk.org> wrote:

>> The condition at line 57 (after while) will evaluate to false
>> if startLine == null, so the previous if-condition is covered.
>
> thyecust has updated the pull request incrementally with one additional commit since the last revision:
> 
>   use "".equals(s) to handle s!=null

Marked as reviewed by dfuchs (Reviewer).

-------------

PR: https://git.openjdk.org/jdk/pull/9571


More information about the net-dev mailing list