ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maxim Muzafarov (Jira)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-14515) Support MissingSwitchDefaultCheck checkstyle check
Date Mon, 12 Apr 2021 08:36:00 GMT
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)

Mime
View raw message