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 3335730  Update code references to use JavaDoc links. (#54)
3335730 is described below

commit 3335730a28c0d5ff82890276d22c62393eef3b7c
Author: Anirudh <129569933+ani5r...@users.noreply.github.com>
AuthorDate: Sat Sep 16 13:16:38 2023 +0530

    Update code references to use JavaDoc links. (#54)
---
 .../org/apache/commons/statistics/descriptive/FirstMoment.java    | 4 ++--
 .../main/java/org/apache/commons/statistics/descriptive/Max.java  | 8 ++------
 .../main/java/org/apache/commons/statistics/descriptive/Mean.java | 4 ++--
 .../main/java/org/apache/commons/statistics/descriptive/Min.java  | 8 ++------
 .../main/java/org/apache/commons/statistics/descriptive/Sum.java  | 8 ++------
 .../java/org/apache/commons/statistics/descriptive/Variance.java  | 4 ----
 6 files changed, 10 insertions(+), 26 deletions(-)

diff --git 
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/FirstMoment.java
 
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/FirstMoment.java
index 94745be..bd24544 100644
--- 
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/FirstMoment.java
+++ 
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/FirstMoment.java
@@ -37,8 +37,8 @@ import java.util.function.DoubleConsumer;
  *
  * <p><strong>Note that this implementation is not synchronized.</strong> If
  * multiple threads access an instance of this class concurrently, and at least
- * one of the threads invokes the <code>accept()</code> or
- * <code>combine()</code> method, it must be synchronized externally.
+ * one of the threads invokes the {@link 
java.util.function.DoubleConsumer#accept(double) accept} or
+ * {@link DoubleStatisticAccumulator#combine(DoubleStatistic) combine} method, 
it must be synchronized externally.
  *
  * <p>However, it is safe to use <code>accept()</code> and 
<code>combine()</code>
  * as <code>accumulator</code> and <code>combiner</code> functions of
diff --git 
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Max.java
 
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Max.java
index 7b5b543..e74a629 100644
--- 
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Max.java
+++ 
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Max.java
@@ -28,8 +28,8 @@ package org.apache.commons.statistics.descriptive;
  *
  * <p><strong>This implementation is not thread safe.</strong>
  * If multiple threads access an instance of this class concurrently,
- * and at least one of the threads invokes the <code>accept()</code> or
- * <code>combine()</code> method, it must be synchronized externally.
+ * and at least one of the threads invokes the {@link 
java.util.function.DoubleConsumer#accept(double) accept} or
+ * {@link DoubleStatisticAccumulator#combine(DoubleStatistic) combine} method, 
it must be synchronized externally.
  *
  * <p>However, it is safe to use <code>accept()</code> and 
<code>combine()</code>
  * as <code>accumulator</code> and <code>combiner</code> functions of
@@ -96,10 +96,6 @@ public abstract class Max implements DoubleStatistic, 
DoubleStatisticAccumulator
     @Override
     public abstract double getAsDouble();
 
-    /** {@inheritDoc} */
-    @Override
-    public abstract Max combine(Max other);
-
     /**
      * {@code Max} implementation that does not store the input value(s) 
processed so far.
      *
diff --git 
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Mean.java
 
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Mean.java
index 5f17c6e..3bda901 100644
--- 
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Mean.java
+++ 
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Mean.java
@@ -42,8 +42,8 @@ package org.apache.commons.statistics.descriptive;
  *
  * <p><strong>Note that this implementation is not synchronized.</strong> If
  * multiple threads access an instance of this class concurrently, and at least
- * one of the threads invokes the <code>accept()</code> or
- * <code>combine()</code> method, it must be synchronized externally.
+ * one of the threads invokes the {@link 
java.util.function.DoubleConsumer#accept(double) accept} or
+ * {@link DoubleStatisticAccumulator#combine(DoubleStatistic) combine} method, 
it must be synchronized externally.
  *
  * <p>However, it is safe to use <code>accept()</code> and 
<code>combine()</code>
  * as <code>accumulator</code> and <code>combiner</code> functions of
diff --git 
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Min.java
 
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Min.java
index 9c63571..b6f4555 100644
--- 
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Min.java
+++ 
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Min.java
@@ -28,8 +28,8 @@ package org.apache.commons.statistics.descriptive;
  *
  * <p><strong>This implementation is not thread safe.</strong>
  * If multiple threads access an instance of this class concurrently,
- * and at least one of the threads invokes the <code>accept()</code> or
- * <code>combine()</code> method, it must be synchronized externally.
+ * and at least one of the threads invokes the {@link 
java.util.function.DoubleConsumer#accept(double) accept} or
+ * {@link DoubleStatisticAccumulator#combine(DoubleStatistic) combine} method, 
it must be synchronized externally.
  *
  * <p>However, it is safe to use <code>accept()</code> and 
<code>combine()</code>
  * as <code>accumulator</code> and <code>combiner</code> functions of
@@ -96,10 +96,6 @@ public abstract class Min implements DoubleStatistic, 
DoubleStatisticAccumulator
     @Override
     public abstract double getAsDouble();
 
-    /** {@inheritDoc} */
-    @Override
-    public abstract Min combine(Min other);
-
     /**
      * {@code Min} implementation that does not store the input value(s) 
processed so far.
      *
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 4a77799..62a41c7 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
@@ -28,8 +28,8 @@ package org.apache.commons.statistics.descriptive;
  *
  * <p><strong>This implementation is not thread safe.</strong>
  * If multiple threads access an instance of this class concurrently,
- * and at least one of the threads invokes the <code>accept()</code> or
- * <code>combine()</code> method, it must be synchronized externally.
+ * and at least one of the threads invokes the {@link 
java.util.function.DoubleConsumer#accept(double) accept} or
+ * {@link DoubleStatisticAccumulator#combine(DoubleStatistic) combine} method, 
it must be synchronized externally.
  *
  * <p>However, it is safe to use <code>accept()</code> and 
<code>combine()</code>
  * as <code>accumulator</code> and <code>combiner</code> functions of
@@ -97,10 +97,6 @@ public abstract class Sum implements DoubleStatistic, 
DoubleStatisticAccumulator
     @Override
     public abstract double getAsDouble();
 
-    /** {@inheritDoc} */
-    @Override
-    public abstract Sum combine(Sum other);
-
     /**
      * {@code Sum} implementation that does not store the input value(s) 
processed so far.
      *
diff --git 
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Variance.java
 
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Variance.java
index d03d170..df8dbe7 100644
--- 
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Variance.java
+++ 
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Variance.java
@@ -159,10 +159,6 @@ public abstract class Variance implements DoubleStatistic, 
DoubleStatisticAccumu
     @Override
     public abstract double getAsDouble();
 
-    /** {@inheritDoc} */
-    @Override
-    public abstract Variance combine(Variance other);
-
     /**
      * {@code Variance} implementation that does not store the input value(s) 
processed so far.
      */

Reply via email to