István Fajth created HDDS-5600:
----------------------------------

             Summary: Allow nested blocks in switch case statements in 
checkstyle checks
                 Key: HDDS-5600
                 URL: https://issues.apache.org/jira/browse/HDDS-5600
             Project: Apache Ozone
          Issue Type: Improvement
            Reporter: István Fajth


In the checkstyle rules, we enable the module AvoidNestedBlocks.

This is a problem, if for example a variable scope needs to be created inside a 
switch case statement, where this rule gives a warning if a case defines a code 
block ("{}").

This JIRA is to loosen this rule, and allow nested blocks in switch statements.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to