You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2024/05/25 13:57:57 UTC

(commons-validator) 03/05: Fix PMD UnnecessaryFullyQualifiedName

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

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-validator.git

commit ed91688d921bdcfaad09c658fca952c9082dfc34
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat May 25 09:55:18 2024 -0400

    Fix PMD UnnecessaryFullyQualifiedName
---
 .../apache/commons/validator/routines/checkdigit/CUSIPCheckDigit.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/commons/validator/routines/checkdigit/CUSIPCheckDigit.java b/src/main/java/org/apache/commons/validator/routines/checkdigit/CUSIPCheckDigit.java
index b263223e..fbf870dd 100644
--- a/src/main/java/org/apache/commons/validator/routines/checkdigit/CUSIPCheckDigit.java
+++ b/src/main/java/org/apache/commons/validator/routines/checkdigit/CUSIPCheckDigit.java
@@ -93,6 +93,6 @@ public final class CUSIPCheckDigit extends ModulusCheckDigit {
     protected int weightedValue(final int charValue, final int leftPos, final int rightPos) {
         final int weight = POSITION_WEIGHT[rightPos % 2];
         final int weightedValue = charValue * weight;
-        return ModulusCheckDigit.sumDigits(weightedValue);
+        return sumDigits(weightedValue);
     }
 }