Sonar claims switch expressions on enums should have default cases (Java)

Hi @martinC ,

Thank you for your report. You are unfortunately facing a known issue with switch expressions when the analyzer is missing some semantic information, causing the parser to not realize that the switch statement is exhaustive.

We are looking into the issue - in the meantime, you can check that your sonar.java.binaries property is set appropriately.

1 Like