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

thyecust duke at openjdk.org
Fri Aug 5 23:02:15 UTC 2022


> 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

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/9571/files
  - new: https://git.openjdk.org/jdk/pull/9571/files/55f9a39b..b9d7d860

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=9571&range=04
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=9571&range=03-04

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/9571.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/9571/head:pull/9571

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


More information about the net-dev mailing list