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

David Handermann updated NIFI-16118:
------------------------------------
    Fix Version/s: 2.11.0
       Resolution: Fixed
           Status: Resolved  (was: Patch Available)

> Add Checkstyle rules to prevent the use of unnecessary semicolons in Enums 
> and try with resources
> -------------------------------------------------------------------------------------------------
>
>                 Key: NIFI-16118
>                 URL: https://issues.apache.org/jira/browse/NIFI-16118
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Daniel Stieglitz
>            Assignee: Daniel Stieglitz
>            Priority: Minor
>             Fix For: 2.11.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> In NIFI-16111, unnecessary semicolons were removed from the end of enum 
> declarations and from the last statement in try with resources. Checkstyle 
> has rules {{UnnecessarySemicolonInEnumeration}} and 
> {{UnnecessarySemicolonInTryWithResources}} to ensure these semicolons are not 
> introduced. Although {{UnnecessarySemicolonInTryWithResources}} had already 
> been added to the code base, by default the rule does not enforce the use of 
> semicolon at the end of a multi-line try with resources. Hence it is 
> necessary to override this behavior to ensure semicolons are not used at the 
> end of the try with resources .



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to