RFR: JDK-8257401: Use switch expressions in jdk.internal.net.http and java.net.http [v4]
Kartik Ohri
github.com+27751938+amcap1712 at openjdk.java.net
Wed Dec 2 09:42:09 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:
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/7fa11daf..3e667427
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=1364&range=03
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=1364&range=02-03
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