This is an automated email from the ASF dual-hosted git repository.

lgoldstein pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mina-sshd.git

commit 8c5969f15d601791eb41bb2b3f8d6083ce34a7e8
Author: Lyor Goldstein <lgoldst...@apache.org>
AuthorDate: Thu Jul 22 20:51:00 2021 +0300

    Replaced deprecated PMD rule
---
 sshd-pmd-ruleset.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sshd-pmd-ruleset.xml b/sshd-pmd-ruleset.xml
index ea08f8b..42ef084 100644
--- a/sshd-pmd-ruleset.xml
+++ b/sshd-pmd-ruleset.xml
@@ -20,7 +20,7 @@
     <rule ref="category/java/errorprone.xml/ProperCloneImplementation" />
     <rule ref="category/java/errorprone.xml/CloneMethodMustImplementCloneable" 
/>
     <rule ref="category/java/errorprone.xml/AssignmentInOperand" />
-    <rule ref="category/java/errorprone.xml/BadComparison" />
+    <rule ref="category/java/errorprone.xml/ComparisonWithNaN" />
     <rule ref="category/java/errorprone.xml/EqualsNull" />
     <rule ref="category/java/errorprone.xml/NonCaseLabelInSwitchStatement" />
     <rule ref="category/java/errorprone.xml/AvoidCallingFinalize" />

Reply via email to