RFR: 8268056: Update java.net and java.nio to use switch expressions [v2]

Patrick Concannon pconcannon at openjdk.java.net
Tue Jun 1 17:20:38 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 incrementally with one additional commit since the last revision:

  8268056: Reverted changes to URLDecoder; reformatted change to FileTime

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/4285/files
  - new: https://git.openjdk.java.net/jdk/pull/4285/files/33cc9517..2f179b52

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

  Stats: 70 lines in 2 files changed: 16 ins; 15 del; 39 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