Integrated: 8291956: Simplify the loop condition in sun.net.httpserver.Request constructor

thyecust duke at openjdk.org
Mon Aug 8 11:28:51 UTC 2022


On Wed, 20 Jul 2022 14:02:39 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.

This pull request has now been integrated.

Changeset: d4fb91ba
Author:    thyecust <thy at mail.ecust.edu.cn>
Committer: Daniel Fuchs <dfuchs at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/d4fb91ba04531c9c51903b1d36941bfb4f6eaf53
Stats:     5 lines in 1 file changed: 0 ins; 3 del; 2 mod

8291956: Simplify the loop condition in sun.net.httpserver.Request constructor

Co-authored-by: Tian Haoyu <tienhoayu at gmail.com>
Reviewed-by: dfuchs, chegar

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

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


More information about the net-dev mailing list