mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Require since attribute when marking API as deprecated
Closes gh-32612
This commit is contained in:
parent
edce1f4e91
commit
98dbabda08
@ -23,7 +23,7 @@
|
||||
<suppress files="[\\/]src[\\/]test[\\/]java[\\/]" checks="NonEmptyAtclauseDescription" />
|
||||
<suppress files="[\\/]autoconfigure[\\/].*Properties\.java" checks="JavadocType" />
|
||||
<suppress files="[\\/]autoconfigure[\\/].*Properties\.java" checks="JavadocVariable" />
|
||||
<suppress files="[\\/]spring-boot-docs[\\/]" checks="JavadocPackage|JavadocType|JavadocVariable" />
|
||||
<suppress files="[\\/]spring-boot-docs[\\/]" checks="JavadocPackage|JavadocType|JavadocVariable|SpringDeprecatedCheck" />
|
||||
<suppress files="[\\/]spring-boot-docs[\\/]" checks="SpringJavadoc" message="\@since" />
|
||||
<suppress files="[\\/]spring-boot-docs[\\/].*jooq" checks="AvoidStaticImport" />
|
||||
<suppress files="[\\/]spring-boot-smoke-tests[\\/]" checks="JavadocPackage|JavadocType" />
|
||||
@ -68,4 +68,5 @@
|
||||
<suppress files="AbstractLaunchScriptIntegrationTests" checks="IllegalImport" />
|
||||
<suppress files="FailureAnalyzers\.java" checks="RedundantModifier" />
|
||||
<suppress files="SpringBootVersion" checks="JavadocPackage" />
|
||||
<suppress files="spring-boot-configuration-processor/src/test/java/org/springframework/boot/configurationsample/" checks="SpringDeprecatedCheck"/>
|
||||
</suppressions>
|
||||
|
@ -8,6 +8,7 @@
|
||||
</module>
|
||||
<module name="io.spring.javaformat.checkstyle.SpringChecks" />
|
||||
<module name="com.puppycrawl.tools.checkstyle.TreeWalker">
|
||||
<module name="io.spring.javaformat.checkstyle.check.SpringDeprecatedCheck" />
|
||||
<module name="io.spring.javaformat.checkstyle.check.SpringJUnit5Check" />
|
||||
<module
|
||||
name="com.puppycrawl.tools.checkstyle.checks.imports.IllegalImportCheck">
|
||||
|
Loading…
Reference in New Issue
Block a user