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

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

commit 00c3dc0b8d1ec5672b0c969b316823fda96c59fc
Author: Alex Herbert <aherb...@apache.org>
AuthorDate: Thu Jul 4 16:40:32 2024 +0100

    PMD fix: Remove unnecessary qualification of scope
---
 .../src/main/java/org/apache/commons/numbers/primes/SmallPrimes.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/commons-numbers-primes/src/main/java/org/apache/commons/numbers/primes/SmallPrimes.java
 
b/commons-numbers-primes/src/main/java/org/apache/commons/numbers/primes/SmallPrimes.java
index 5cac3c66..8acd0684 100644
--- 
a/commons-numbers-primes/src/main/java/org/apache/commons/numbers/primes/SmallPrimes.java
+++ 
b/commons-numbers-primes/src/main/java/org/apache/commons/numbers/primes/SmallPrimes.java
@@ -266,7 +266,7 @@ final class SmallPrimes {
         final BigInteger bn = BigInteger.valueOf(n);
 
         for (int i = 0; i < t; i++) {
-            final BigInteger a = BigInteger.valueOf(SmallPrimes.PRIMES[i]);
+            final BigInteger a = BigInteger.valueOf(PRIMES[i]);
             final BigInteger bPow = a.modPow(br, bn);
             int y = bPow.intValue();
             if (1 != y && y != nMinus1) {

Reply via email to