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

Patrick Concannon pconcannon at openjdk.java.net
Wed Jun 2 11:06:46 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: Added yield to switch expression in Files

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/4285/files
  - new: https://git.openjdk.java.net/jdk/pull/4285/files/23f53c52..433b02a0

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

  Stats: 13 lines in 1 file changed: 2 ins; 1 del; 10 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