You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ah...@apache.org on 2025/03/24 16:13:11 UTC
(commons-statistics) 02/11: Update comments to avoid Sonarcloud false positive
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-statistics.git
commit c4257cd46bcc2b7bd3d5cbefc2aee818df14de7a
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Mon Mar 24 15:29:04 2025 +0000
Update comments to avoid Sonarcloud false positive
---
.../test/java/org/apache/commons/statistics/descriptive/MeanTest.java | 4 ++--
.../java/org/apache/commons/statistics/descriptive/VarianceTest.java | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/commons-statistics-descriptive/src/test/java/org/apache/commons/statistics/descriptive/MeanTest.java b/commons-statistics-descriptive/src/test/java/org/apache/commons/statistics/descriptive/MeanTest.java
index 0d89001..080edd1 100644
--- a/commons-statistics-descriptive/src/test/java/org/apache/commons/statistics/descriptive/MeanTest.java
+++ b/commons-statistics-descriptive/src/test/java/org/apache/commons/statistics/descriptive/MeanTest.java
@@ -65,8 +65,8 @@ final class MeanTest extends BaseDoubleStatisticTest<Mean> {
.average().orElse(getEmptyValue());
}
- // The full-array method should be more accurate on average;
- // however the tolerance is for the max error which is similar
+ // The full-array method should be more accurate on average.
+ // However the tolerance is for the max error which is similar
@Override
protected DoubleTolerance getToleranceAccept() {
diff --git a/commons-statistics-descriptive/src/test/java/org/apache/commons/statistics/descriptive/VarianceTest.java b/commons-statistics-descriptive/src/test/java/org/apache/commons/statistics/descriptive/VarianceTest.java
index 1391f48..cd99a55 100644
--- a/commons-statistics-descriptive/src/test/java/org/apache/commons/statistics/descriptive/VarianceTest.java
+++ b/commons-statistics-descriptive/src/test/java/org/apache/commons/statistics/descriptive/VarianceTest.java
@@ -65,8 +65,8 @@ final class VarianceTest extends BaseDoubleStatisticTest<Variance> {
return Double.NaN;
}
- // The full-array method should be more accurate on average;
- // however the tolerance is for the max error which is similar
+ // The full-array method should be more accurate on average.
+ // However the tolerance is for the max error which is similar
@Override
protected DoubleTolerance getToleranceAccept() {