This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-statistics.git
The following commit(s) were added to refs/heads/master by this push:
new 8d6ad9b1 Avoid PMD.UnnecessaryWarningSuppression
8d6ad9b1 is described below
commit 8d6ad9b141a63fb10f716a529fd54b5476fc53db
Author: Sebb <[email protected]>
AuthorDate: Sun Dec 28 23:45:28 2025 +0000
Avoid PMD.UnnecessaryWarningSuppression
---
.../java/org/apache/commons/statistics/inference/MannWhitneyUTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/MannWhitneyUTest.java
b/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/MannWhitneyUTest.java
index 35b3f2fe..d4bc9d6a 100644
---
a/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/MannWhitneyUTest.java
+++
b/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/MannWhitneyUTest.java
@@ -50,7 +50,7 @@ public final class MannWhitneyUTest {
* The value should only be accessed, checked for size and optionally
* modified when holding the lock. When the storage is determined to be
the correct
* size it can be returned for read/write to the array when not holding
the lock. */
- private static SoftReference<double[][][]> cacheF = new
SoftReference<>(null); //NOPMD @GuardedBy("LOCK")
+ private static SoftReference<double[][][]> cacheF = new
SoftReference<>(null); // @GuardedBy("LOCK")
/** Default instance. */
private static final MannWhitneyUTest DEFAULT = new MannWhitneyUTest(
AlternativeHypothesis.TWO_SIDED, PValueMethod.AUTO, true, 0);