Skip to content

Commit fb99bad

Browse files
izeyesnicoll
authored andcommitted
Remove redundant suppressions from Checkstyle configuration
See gh-46927 Signed-off-by: Johnny Lim <[email protected]>
1 parent b6bae9f commit fb99bad

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

src/checkstyle/checkstyle-suppressions.xml

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -19,24 +19,19 @@
1919
<suppress files="SignalUtils\.java" checks="IllegalImport" />
2020
<suppress files="OrderedFilter\.java" checks="InterfaceIsType" />
2121
<suppress files="OrderedWebFilter\.java" checks="InterfaceIsType" />
22-
<suppress files="[\\/]src[\\/]test[\\/]java[\\/]cli[\\/]command[\\/]" checks="ImportControl" />
2322
<suppress files="[\\/]src[\\/]main[\\/]java[\\/]sample[\\/]" checks="ImportControl" />
24-
<suppress files="[\\/]src[\\/]test[\\/]java[\\/]sample[\\/]" checks="ImportControl" />
2523
<suppress files="[\\/]src[\\/]test(Fixtures)?[\\/]java[\\/]" checks="Javadoc*" />
2624
<suppress files="[\\/]src[\\/]test[\\/]java[\\/]" id="mainCodeIllegalImportCheck" />
27-
<suppress files="[\\/]src[\\/]test[\\/]java[\\/]" checks="NonEmptyAtclauseDescription" />
28-
<suppress files="[\\/]autoconfigure[\\/].*Properties\.java" checks="JavadocType" />
2925
<suppress files="[\\/]autoconfigure[\\/].*Properties\.java" checks="JavadocVariable" />
3026
<suppress files="[\\/]spring-boot-docs[\\/]" checks="JavadocPackage|JavadocType|JavadocVariable|SpringDeprecatedCheck" />
3127
<suppress files="[\\/]spring-boot-docs[\\/]" checks="SpringJavadoc" message="\@since" />
3228
<suppress files="[\\/]spring-boot-docs[\\/].*jooq" checks="AvoidStaticImport" />
3329
<suppress files="[\\/]spring-boot-docs[\\/].*MyConfiguration__BeanDefinitions" checks="JavadocMethod|SpringHideUtilityClassConstructor" />
34-
<suppress files="[\\/]spring-boot-smoke-tests[\\/]" checks="JavadocPackage|JavadocType" />
30+
<suppress files="[\\/]spring-boot-smoke-tests[\\/]" checks="JavadocType" />
3531
<suppress files="[\\/]spring-boot-smoke-tests[\\/]" checks="ImportControl" />
3632
<suppress files="[\\/]spring-boot-smoke-tests[\\/].*SamplePulsarApplicationTests" checks="SpringHideUtilityClassConstructor" />
3733
<suppress files="[\\/]spring-boot-smoke-tests[\\/]" id="mainCodeIllegalImportCheck" />
3834
<suppress files="[\\/]spring-boot-deployment-tests[\\/]" checks="JavadocPackage|JavadocType" />
39-
<suppress files="[\\/]spring-boot-integration-tests[\\/]" checks="JavadocType" />
4035
<suppress files="Ansi.*\.java" checks="JavadocVariable" />
4136
<suppress files="Ansi.*\.java" checks="JavadocStyle" />
4237
<suppress files="LogLevel\.java" checks="JavadocVariable" />
@@ -50,11 +45,7 @@
5045
<suppress files="LogbackMetricsAutoConfiguration\.java" checks="IllegalImport" />
5146
<suppress files="RemoteUrlPropertyExtractorTests\.java" checks="IllegalImport" />
5247
<suppress files="SampleLogbackApplication\.java" checks="IllegalImport" />
53-
<suppress files="FlywayAutoConfigurationTests\.java" checks="IllegalImport" />
54-
<suppress files="[\\/]src[\\/]test[\\/]java[\\/]org[\\/]springframework[\\/]boot[\\/]test[\\/]rule[\\/]" checks="SpringJUnit5" />
55-
<suppress files="MockBeanWithSpringMethodRuleRepeatJUnit4IntegrationTests" checks="SpringJUnit5" />
5648
<suppress files="OutputCaptureRuleTests" checks="SpringJUnit5" />
57-
<suppress files="SampleJUnitVintageApplicationTests" checks="SpringJUnit5" />
5849
<suppress files="[\\/]spring-boot-smoke-tests[\\/]" checks="SpringJavadoc" message="\@since" />
5950
<suppress files="[\\/]spring-boot-smoke-tests[\\/]spring-boot-smoke-test-testng[\\/]" checks="SpringJUnit5" />
6051
<suppress files="[\\/]spring-boot-test-support[\\/]" checks="SpringJavadoc" message="\@since" />
@@ -66,21 +57,15 @@
6657
<suppress files="[\\/]src[\\/]intTest[\\/]java[\\/]" checks="SpringJavadoc" message="\@since" />
6758
<suppress files="[\\/]src[\\/]systemTest[\\/]java[\\/]" checks="JavadocPackage" />
6859
<suppress files="[\\/]src[\\/]systemTest[\\/]java[\\/]" checks="SpringJavadoc" message="\@since" />
69-
<suppress files="LinuxDomainSocket" checks="FinalClass" message="SockaddrUn" />
70-
<suppress files="BsdDomainSocket" checks="FinalClass" message="SockaddrUn" />
71-
<suppress files="StringSequence" checks="SpringMethodVisibility" message="isEmpty"/>
7260
<suppress files="ValidatorPropertiesWithDefaultValues\.java" checks="SpringMethodVisibility" />
7361
<suppress files="DevToolsTestApplication\.java" checks="SpringMethodVisibility" />
7462
<suppress files="DevToolsR2dbcAutoConfigurationTests" checks="HideUtilityClassConstructor" />
75-
<suppress files="ConfigurationMetadataChangelogGenerator" checks="SpringMethodVisibility" />
7663
<suppress files="AbstractLaunchScriptIntegrationTests" checks="IllegalImport" />
7764
<suppress files="FailureAnalyzers\.java" checks="RedundantModifier" />
7865
<suppress files="SpringBootVersion" checks="JavadocPackage" />
7966
<suppress files="spring-boot-configuration-processor[\\/]src[\\/]test[\\/]java[\\/]org[\\/]springframework[\\/]boot[\\/]configurationsample[\\/]" checks="SpringDeprecatedCheck"/>
8067
<suppress files="ImportTestcontainersTests\.java" checks="InterfaceIsType" />
8168
<suppress files="MyContainers\.java" checks="InterfaceIsType" />
82-
<suppress files="MyInterface\.java" checks="InterfaceIsType" />
83-
<suppress files="SpringBootBanner\.java" checks="SpringLeadingWhitespace" />
8469
<suppress files="LoadTimeWeaverAwareConsumerContainers\.java" checks="InterfaceIsType" />
8570
<suppress files="FieldValues\.java" checks="SimplifyBooleanExpression" />
8671
</suppressions>

0 commit comments

Comments
 (0)