RFR: JDK-8257401: Use switch expressions in jdk.internal.net.http and java.net.http [v3]
Kartik Ohri
github.com+27751938+amcap1712 at openjdk.java.net
Wed Dec 2 09:26: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 updated the pull request incrementally with one additional commit since the last revision:
Vertically align statements in switch expressions
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/1364/files
- new: https://git.openjdk.java.net/jdk/pull/1364/files/542298e0..7fa11daf
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=1364&range=02
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=1364&range=01-02
Stats: 74 lines in 14 files changed: 14 ins; 0 del; 60 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