-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
migrate to Java 17 switch semantics: extras (#575)
* migrate to Java 17 switch semantics: extras replace legacy switch block with java 17 semantics: 1. short-circuit initialization in the switch expression 2. default case match with the original initialization 3. reduce complex boolean expression to an elegant form Refs: #570 (review)
- Loading branch information
1 parent
263fc98
commit d0a3839
Showing
2 changed files
with
7 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters