You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Maxim Muzafarov (Jira)" <ji...@apache.org> on 2021/04/12 08:36:00 UTC

[jira] [Created] (IGNITE-14515) Support MissingSwitchDefaultCheck checkstyle check

Maxim Muzafarov created IGNITE-14515:
----------------------------------------

             Summary: Support MissingSwitchDefaultCheck checkstyle check
                 Key: IGNITE-14515
                 URL: https://issues.apache.org/jira/browse/IGNITE-14515
             Project: Ignite
          Issue Type: Task
            Reporter: Maxim Muzafarov
            Assignee: Maxim Muzafarov
             Fix For: 2.11


Every switch statement should include a default case. The break in the default case is redundant, but it prevents a fall-through error if later another case is added.


https://www.oracle.com/java/technologies/javase/codeconventions-statements.html#468



--
This message was sent by Atlassian Jira
(v8.3.4#803005)