Pattern: Use of multiple variable declarations
Issue: -
Checks that each variable declaration is in its own statement and on its own line.
Rationale: the Java code conventions chapter 6.1 recommends that declarations should be one per line/statement.
To configure the check:
<module name="MultipleVariableDeclarations"/>