You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Amelchev Nikita (Jira)" <ji...@apache.org> on 2021/11/22 16:06:00 UTC

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

     [ https://issues.apache.org/jira/browse/IGNITE-14515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amelchev Nikita updated IGNITE-14515:
-------------------------------------
    Fix Version/s: 2.13
                       (was: 2.12)

> 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
>            Priority: Major
>              Labels: checkstyle
>             Fix For: 2.13
>
>
> 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.20.1#820001)