Check :- https://checkstyle.org/checks/coding/fallthrough.html#FallThrough
We violation messages:
|
fall.through=Fall through from previous branch of the switch statement. |
|
fall.through.last=Fall through from the last branch of the switch statement. |
We need update all the Input files to not mention the keyword "fall through" in the violation message
We might use Fall\ through from the previous branch of the switch statement (escaping of space) to not let Check to consider it as a violation as it is not matching.
From :- #12966
Check :- https://checkstyle.org/checks/coding/fallthrough.html#FallThrough
We violation messages:
checkstyle/src/main/resources/com/puppycrawl/tools/checkstyle/checks/coding/messages.properties
Lines 19 to 20 in 8134680
We need update all the Input files to not mention the keyword "fall through" in the violation message
We might use
Fall\ through from the previous branch of the switch statement(escaping of space) to not let Check to consider it as a violation as it is not matching.From :- #12966