Skip to content

I20230413-1800

@gireeshpunathil gireeshpunathil tagged this 13 Apr 16:41
* 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: https://github.com/eclipse-pde/eclipse.pde/pull/570#pullrequestreview-1379419914
Assets 2
Loading