From comment : #17259 (comment)
During the JDK 17 upgrade(#17168), IntelliJ inspections identified 68 switch statements that can be replaced with modern enhanced switch expressions (introduced in JDK 14). To maintain focus on the core upgrade, we will temporarily disable these inspections and address them in a dedicated refactoring effort post-migration.
Next Steps
From comment : #17259 (comment)
During the JDK 17 upgrade(#17168), IntelliJ inspections identified 68 switch statements that can be replaced with modern enhanced switch expressions (introduced in JDK 14). To maintain focus on the core upgrade, we will temporarily disable these inspections and address them in a dedicated refactoring effort post-migration.
Next Steps
Disable inspection in current JDK 11 PR
Post-JDK 17 upgrade:
Re-enable inspection
Refactor using IDE's "Replace with enhanced switch" tool
Validate with tests