Enable additional checkstyles for whitespace

* Enable checkstyle WhitespaceAround
* Enable checkstyle NoWhitespaceBefore
* Enable checkstyle MethodParamPad
This commit is contained in:
Evan Harris
2019-08-11 20:09:40 +00:00
committed by jvoisin
parent 86a5b8708d
commit f738819625
48 changed files with 96 additions and 86 deletions
@@ -72,7 +72,6 @@ public enum IndexType {
FieldNames.ARTIST), FieldNames.ARTIST),
boosts( boosts(
entry(FieldNames.ARTIST, 2F))), entry(FieldNames.ARTIST, 2F))),
; ;
@SafeVarargs @SafeVarargs
+11
View File
@@ -31,11 +31,22 @@
<module name="EqualsHashCode"/> <module name="EqualsHashCode"/>
<module name="Indentation"/> <module name="Indentation"/>
<module name="InnerAssignment"/> <module name="InnerAssignment"/>
<module name="MethodParamPad"/>
<module name="NoWhitespaceBefore">
<property name="allowLineBreaks" value="true"/>
</module>
<module name="OneStatementPerLine"/> <module name="OneStatementPerLine"/>
<module name="ParenPadCheck"/> <module name="ParenPadCheck"/>
<module name="RedundantImport"/> <module name="RedundantImport"/>
<module name="StringLiteralEquality"/> <module name="StringLiteralEquality"/>
<module name="TypecastParenPad"/> <module name="TypecastParenPad"/>
<module name="UnusedImports"/> <module name="UnusedImports"/>
<module name="WhitespaceAround">
<property name="allowEmptyCatches" value="true"/>
<property name="allowEmptyConstructors" value="true"/>
<property name="allowEmptyLambdas" value="true"/>
<property name="allowEmptyMethods" value="true"/>
<property name="allowEmptyTypes" value="true"/>
</module>
</module> </module>
</module> </module>