Skip to content

Commit 7cff3f6

Browse files
committed
Enable SpringDeprecatedCheck Checkstyle rule
This rules checks that `@Deprecated` annotations have a "since" attribute. Closes gh-34989
1 parent fa6e329 commit 7cff3f6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/checkstyle/checkstyle.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
<module name="com.puppycrawl.tools.checkstyle.checks.annotation.MissingOverrideCheck"/>
2828
<module name="com.puppycrawl.tools.checkstyle.checks.annotation.PackageAnnotationCheck"/>
2929
<module name="com.puppycrawl.tools.checkstyle.checks.annotation.AnnotationLocationCheck"/>
30+
<module name="io.spring.javaformat.checkstyle.check.SpringDeprecatedCheck" />
3031

3132
<!-- Block Checks -->
3233
<module name="com.puppycrawl.tools.checkstyle.checks.blocks.EmptyBlockCheck">

0 commit comments

Comments
 (0)