<i18n dev> RFR: 8267587: Update java.util to use enhanced switch [v3]
tvaleev at openjdk.java.net
Tue May 25 06:01:49 UTC 2021
> Inspired by PR#4088. Most of the changes are done automatically using IntelliJ IDEA refactoring. Some manual adjustments are also performed, including indentations, moving comments, extracting common cast out of switch expression branches, etc.
> I also noticed that there are some switches having one branch only in JapaneseImperialCalendar.java. Probably it would be better to replace them with `if` statement?
Tagir F. Valeev has updated the pull request incrementally with one additional commit since the last revision:
Indent some lines to make GitHub diff happier
- all: https://git.openjdk.java.net/jdk/pull/4161/files
- new: https://git.openjdk.java.net/jdk/pull/4161/files/2e966d0f..07a998bc
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=4161&range=02
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=4161&range=01-02
Stats: 10 lines in 1 file changed: 0 ins; 0 del; 10 mod
Fetch: git fetch https://git.openjdk.java.net/jdk pull/4161/head:pull/4161
More information about the i18n-dev