RFR: JDK-8257401: Use switch expressions in jdk.internal.net.http and java.net.http [v2]

Kartik Ohri github.com+27751938+amcap1712 at openjdk.java.net
Mon Nov 30 13:04:11 UTC 2020


> Hi!
> Kindly review this patch to replace switch statements with switch expressions (where it makes sense) in the http client modules. The rationale is to improve readability of the code.
> Regards,
> Kartik

Kartik Ohri has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR. The pull request contains one new commit since the last revision:

  JDK-8257401: Use switch expressions in jdk.internal.net.http and java.net.http

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/1364/files
  - new: https://git.openjdk.java.net/jdk/pull/1364/files/4ecf4e0d..542298e0

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=1364&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=1364&range=00-01

  Stats: 0 lines in 0 files changed: 0 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/1364.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/1364/head:pull/1364

PR: https://git.openjdk.java.net/jdk/pull/1364



More information about the security-dev mailing list