resources.report.rules.findbugs.SF_SWITCH_NO_DEFAULT.html Maven / Gradle / Ivy
SF_SWITCH_NO_DEFAULT
SF: Switch statement found where default case is missing (SF_SWITCH_NO_DEFAULT)
This method contains a switch statement where default case is missing.
Usually you need to provide a default case.
Because the analysis only looks at the generated bytecode, this warning can be incorrect triggered if
the default case is at the end of the switch statement and the switch statement doesn't contain break statements for other
cases.