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


The following commit(s) were added to refs/heads/master by this push:
     new e789f38  Javadoc exception
e789f38 is described below

commit e789f381843d95847a93e88faaae30bf126258e5
Author: Alex Herbert <aherb...@apache.org>
AuthorDate: Wed Apr 2 14:37:12 2025 +0100

    Javadoc exception
---
 .../src/main/java/org/apache/commons/statistics/descriptive/Sum.java     | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Sum.java
 
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Sum.java
index 871aeba..5c461fa 100644
--- 
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Sum.java
+++ 
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Sum.java
@@ -108,6 +108,7 @@ public final class Sum implements DoubleStatistic, 
StatisticAccumulator<Sum> {
      * @param from Inclusive start of the range.
      * @param to Exclusive end of the range.
      * @return {@code Sum} instance.
+     * @throws IndexOutOfBoundsException if the sub-range is out of bounds
      * @since 1.2
      */
     public static Sum ofRange(double[] values, int from, int to) {

Reply via email to