Issue #2089: fix for checkstyle violations
This commit is contained in:
parent
a42475db9e
commit
e5dd96d8dc
|
|
@ -143,7 +143,7 @@ public class MethodParamPadCheck
|
|||
final int before = parenAST.getColumnNo() - 1;
|
||||
if (getAbstractOption() == PadOption.NOSPACE
|
||||
&& Character.isWhitespace(line.charAt(before))) {
|
||||
log(parenAST , WS_PRECEDED, parenAST.getText());
|
||||
log(parenAST, WS_PRECEDED, parenAST.getText());
|
||||
}
|
||||
else if (getAbstractOption() == PadOption.SPACE
|
||||
&& !Character.isWhitespace(line.charAt(before))) {
|
||||
|
|
|
|||
|
|
@ -157,7 +157,7 @@ public class MainTest {
|
|||
assertEquals("", systemErr.getLog());
|
||||
}
|
||||
});
|
||||
Main.main("-c", "/google_checks.xml", "-f" , "xmlp",
|
||||
Main.main("-c", "/google_checks.xml", "-f", "xmlp",
|
||||
"src/test/resources/com/puppycrawl/tools/checkstyle/InputMain.java");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue