Skip to content

Commit 088bcf3

Browse files
committed
Add PMD 7.16 Rules
1 parent 154c6c7 commit 088bcf3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.config/pmd/java/ruleset.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,8 @@
153153
<rule ref="category/java/errorprone.xml/MisplacedNullCheck"/>
154154
<rule ref="category/java/errorprone.xml/MoreThanOneLogger"/>
155155
<rule ref="category/java/errorprone.xml/NonStaticInitializer"/>
156+
<rule ref="category/java/errorprone.xml/ReplaceJavaUtilCalendar"/>
157+
<rule ref="category/java/errorprone.xml/ReplaceJavaUtilDate"/>
156158
<rule ref="category/java/errorprone.xml/ReturnFromFinallyBlock"/>
157159
<rule ref="category/java/errorprone.xml/SingletonClassReturningNewInstance"/>
158160
<rule ref="category/java/errorprone.xml/UnconditionalIfStatement"/>

0 commit comments

Comments
 (0)