RFR: 8267670: Update java.io, java.math, and java.text to use switch expressions [v2]

Patrick Concannon pconcannon at openjdk.java.net
Tue May 25 14:57:22 UTC 2021


> Hi,
> 
> Could someone please review my code for updating the code in the `java.io`, `java.math`, and `java.text` 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 three additional commits since the last revision:

 - 8267670: Updated code to use yield
 - Merge remote-tracking branch 'origin/master' into JDK-8267670
 - 8267670: Update java.io, java.math, and java.text to use switch expressions

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/4182/files
  - new: https://git.openjdk.java.net/jdk/pull/4182/files/b98e47db..adc8af41

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

  Stats: 143 lines in 16 files changed: 28 ins; 56 del; 59 mod
  Patch: https://git.openjdk.java.net/jdk/pull/4182.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/4182/head:pull/4182

PR: https://git.openjdk.java.net/jdk/pull/4182


More information about the core-libs-dev mailing list