[
https://issues.apache.org/jira/browse/NIFI-16118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Stieglitz updated NIFI-16118:
------------------------------------
Summary: Add Checkstyle rules to prevent the use of unnecessary semicolons
in Enums and try with resources (was: Add Checkstyle rules to prevent
unnecessary semicolons in Enums and try with resources)
> 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
>
> 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)