<i18n dev> RFR: 8267587: Update java.util to use enhanced switch [v5]
tvaleev at openjdk.java.net
Tue May 25 11:49:18 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:
More vertical alignment
- all: https://git.openjdk.java.net/jdk/pull/4161/files
- new: https://git.openjdk.java.net/jdk/pull/4161/files/82f40605..f4ad5f14
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=4161&range=04
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=4161&range=03-04
Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
Fetch: git fetch https://git.openjdk.java.net/jdk pull/4161/head:pull/4161
More information about the i18n-dev