On Mon, 24 May 2021 04:20:23 GMT, Tagir F. Valeev <tval...@openjdk.org> wrote:
> 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? This pull request has now been integrated. Changeset: ab5a7ff2 Author: Tagir F. Valeev <tval...@openjdk.org> URL: https://git.openjdk.java.net/jdk/commit/ab5a7ff2304dd4cb069ae2bbd6fdd99b3de7a6a3 Stats: 884 lines in 15 files changed: 108 ins; 328 del; 448 mod 8267587: Update java.util to use enhanced switch Reviewed-by: iris ------------- PR: https://git.openjdk.java.net/jdk/pull/4161