Class UnnecessarySemicolonInTryWithResourcesCheck

All Implemented Interfaces:
Configurable, Contextualizable

Checks if unnecessary semicolon is used in last resource declaration.
  • Property allowWhenNoBraceAfterSemicolon - Allow unnecessary semicolon if closing parenthesis is not on the same line. Type is boolean. Default value is true.

Parent is com.puppycrawl.tools.checkstyle.TreeWalker

Violation Message Keys:

  • unnecessary.semicolon
Since:
8.22