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


The following commit(s) were added to refs/heads/master by this push:
     new 79012e91 Fix javadoc
79012e91 is described below

commit 79012e911d21f520195e8072bd9716f4853332a2
Author: aherbert <aherb...@apache.org>
AuthorDate: Wed Oct 4 17:20:54 2023 +0100

    Fix javadoc
---
 .../src/main/java/org/apache/commons/numbers/core/Addition.java         | 2 +-
 .../src/main/java/org/apache/commons/numbers/core/Multiplication.java   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/commons-numbers-core/src/main/java/org/apache/commons/numbers/core/Addition.java
 
b/commons-numbers-core/src/main/java/org/apache/commons/numbers/core/Addition.java
index b93bdb44..bd24937e 100644
--- 
a/commons-numbers-core/src/main/java/org/apache/commons/numbers/core/Addition.java
+++ 
b/commons-numbers-core/src/main/java/org/apache/commons/numbers/core/Addition.java
@@ -49,7 +49,7 @@ public interface Addition<T> {
      * Check if this is a neutral element of addition, i.e. {@code 
this.add(a)} returns
      * {@code a} or an element representing the same value as {@code a}.
      *
-     * <p>The default implementation calls {@link #equals(Object) 
equals(zero())}.
+     * <p>The default implementation calls {@link Object#equals(Object) 
equals(zero())}.
      * Implementations may want to employ more a efficient method. This may 
even
      * be required if an implementation has multiple representations of {@code 
zero} and its
      * {@code equals} method differentiates between them.
diff --git 
a/commons-numbers-core/src/main/java/org/apache/commons/numbers/core/Multiplication.java
 
b/commons-numbers-core/src/main/java/org/apache/commons/numbers/core/Multiplication.java
index ed1d8b36..6165f0cc 100644
--- 
a/commons-numbers-core/src/main/java/org/apache/commons/numbers/core/Multiplication.java
+++ 
b/commons-numbers-core/src/main/java/org/apache/commons/numbers/core/Multiplication.java
@@ -49,7 +49,7 @@ public interface Multiplication<T> {
      * Check if this is a neutral element of multiplication, i.e. {@code 
this.multiply(a)} returns
      * {@code a} or an element representing the same value as {@code a}.
      *
-     * <p>The default implementation calls {@link #equals(Object) 
equals(one())}.
+     * <p>The default implementation calls {@link Object#equals(Object) 
equals(one())}.
      * Implementations may want to employ more a efficient method. This may 
even
      * be required if an implementation has multiple representations of {@code 
one} and its
      * {@code equals} method differentiates between them.

Reply via email to