RFR: 8268056: Update java.net and java.nio to use switch expressions [v7]
Patrick Concannon
pconcannon at openjdk.java.net
Wed Jun 9 08:44:44 UTC 2021
> Hi,
>
> Could someone please review my code for updating the code in the `java.net` and `java.nio` packages to make use of the switch expressions?
>
> Kind regards,
> Patrick
Patrick Concannon has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains ten additional commits since the last revision:
- Merge remote-tracking branch 'origin/master' into JDK-8268056
- 8268056: renamed variable in Files
- Merge remote-tracking branch 'origin/master' into JDK-8268056
- Merge remote-tracking branch 'origin/master' into JDK-8268056
- 8268056: Added yield to switch expression in Files
- 8268056: reverted changes to FileTime
- Merge remote-tracking branch 'origin/master' into JDK-8268056
- 8268056: Reverted changes to URLDecoder; reformatted change to FileTime
- 8268056: Update java.net and java.nio to use switch expressions
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/4285/files
- new: https://git.openjdk.java.net/jdk/pull/4285/files/dec6d20b..ffeb4c56
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=4285&range=06
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=4285&range=05-06
Stats: 462593 lines in 813 files changed: 454901 ins; 4083 del; 3609 mod
Patch: https://git.openjdk.java.net/jdk/pull/4285.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/4285/head:pull/4285
PR: https://git.openjdk.java.net/jdk/pull/4285
More information about the nio-dev
mailing list