> 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: Unindent switch cases to simplify the review ------------- Changes: - all: https://git.openjdk.java.net/jdk/pull/4161/files - new: https://git.openjdk.java.net/jdk/pull/4161/files/807d780d..2e966d0f Webrevs: - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=4161&range=01 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=4161&range=00-01 Stats: 64 lines in 1 file changed: 27 ins; 27 del; 10 mod Patch: https://git.openjdk.java.net/jdk/pull/4161.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/4161/head:pull/4161 PR: https://git.openjdk.java.net/jdk/pull/4161