com.puppycrawl.tools.checkstyle.meta.checks.coding.UnnecessarySemicolonInTryWithResourcesCheck.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of checkstyle Show documentation
Show all versions of checkstyle Show documentation
Checkstyle is a development tool to help programmers write Java code
that adheres to a coding standard
<?xml version="1.0" encoding="UTF-8"?> <checkstyle-metadata> <module> <check fully-qualified-name="com.puppycrawl.tools.checkstyle.checks.coding.UnnecessarySemicolonInTryWithResourcesCheck" name="UnnecessarySemicolonInTryWithResources" parent="com.puppycrawl.tools.checkstyle.TreeWalker"> <description><p> Checks if unnecessary semicolon is used in last resource declaration. </p></description> <properties> <property default-value="true" name="allowWhenNoBraceAfterSemicolon" type="boolean"> <description>Allow unnecessary semicolon if closing paren is not on the same line.</description> </property> </properties> <message-keys> <message-key key="unnecessary.semicolon"/> </message-keys> </check> </module> </checkstyle-metadata>