Skip to content

Commit

Permalink
Updated checkstyle resources
Browse files Browse the repository at this point in the history
Changed rules and suppressions used by checkstyle to enforce more strict whitespace rules

Signed-off-by: Jasper Berton <[email protected]>
  • Loading branch information
JasperB-TeamBlue committed Oct 29, 2024
1 parent 8617fe1 commit 6bc09a9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,4 +99,5 @@
<suppress checks="org.ovirt.checkstyle.checks.NoArgConstructorCheck" files="org[\\/]ovirt[\\/]engine[\\/]core[\\/]aaa[\\/].*"/>
<!-- The customprop package only includes common logic, nothing to serialize -->
<suppress checks="org.ovirt.checkstyle.checks.NoArgConstructorCheck" files="org[\\/]ovirt[\\/]engine[\\/]core[\\/]common[\\/]utils[\\/]customprop[\\/].*"/>
<suppress checks="SingleSpaceSeperator" files="NetworkStatisticsBuilderTest.java"/>
</suppressions>
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</module>
<module name="UniqueProperties"/>
<module name="TreeWalker">

<module name="SuppressionCommentFilter"/>
<!-- Built-in checks -->
<module name="AnnotationLocation" />
<module name="AnnotationUseStyle" />
Expand Down Expand Up @@ -77,9 +77,9 @@
<module name="UnnecessaryParentheses"/>
<module name="UnusedImports"/>
<module name="UpperEll"/>
<module name="WhitespaceAfter">
<property name="tokens" value="COMMA"/>
</module>
<module name="WhitespaceAfter"/>
<module name="WhitespaceAround"/>
<module name="SingleSpaceSeparator"/>

<!-- oVirt checks -->
<module name="org.ovirt.checkstyle.checks.DiamondOperatorCheck"/>
Expand Down

0 comments on commit 6bc09a9

Please sign in to comment.