Skip to content

Commit

Permalink
Suppress SpringMethodVisibility
Browse files Browse the repository at this point in the history
Although not necessary from compiler perspective, visibility modifiers
in private classes intentional. Although not enforced, it helps to
make clarify the internal API.
  • Loading branch information
rstoyanchev committed May 2, 2024
1 parent 816c202 commit 9bdd869
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/checkstyle/checkstyle-suppressions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
<!-- generated sources -->
<suppress files="[\\/]build[\\/]generated[\\/]sources[\\/]" checks=".*" />

<!-- main -->
<suppress files="[\\/]src[\\/]main[\\/]java[\\/]" checks="SpringMethodVisibility" />

<!-- tests -->
<suppress files="[\\/]src[\\/]testFixtures[\\/]java[\\/]" checks="JavadocPackage|SpringJavadoc" />
<suppress files="[\\/]src[\\/]test[\\/]java[\\/]" checks="JavadocPackage|SpringJavadoc|InnerTypeLast|SpringMethodVisibility|RequireThis|SpringLambda|SpringTernary|FinalClass|RedundantModifier|SpringAvoidStaticImport" />
Expand Down

0 comments on commit 9bdd869

Please sign in to comment.