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 97251f7 Fix wrong javadoc new 5cce266 Merge pull request #102 from arturobernalg/feature/javadoc 97251f7 is described below commit 97251f793d0e02e722c4810b7f82bb19c56eff42 Author: Arturo Bernal <arturobern...@gmail.com> AuthorDate: Sat Aug 7 10:40:48 2021 +0200 Fix wrong javadoc --- .../src/main/java/org/apache/commons/numbers/complex/Complex.java | 2 +- .../src/main/java/org/apache/commons/numbers/core/Norm.java | 2 +- .../main/java/org/apache/commons/numbers/quaternion/Quaternion.java | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/commons-numbers-complex/src/main/java/org/apache/commons/numbers/complex/Complex.java b/commons-numbers-complex/src/main/java/org/apache/commons/numbers/complex/Complex.java index e69381b..c795e28 100644 --- a/commons-numbers-complex/src/main/java/org/apache/commons/numbers/complex/Complex.java +++ b/commons-numbers-complex/src/main/java/org/apache/commons/numbers/complex/Complex.java @@ -3304,7 +3304,7 @@ public final class Complex implements Serializable { } /** - * Check that an absolute value is finite. Used to replace {@link Double#isFinite()} + * Check that an absolute value is finite. Used to replace {@link Double#isFinite(double)} * when the input value is known to be positive (i.e. in the case where it has been * set using {@link Math#abs(double)}). * diff --git a/commons-numbers-core/src/main/java/org/apache/commons/numbers/core/Norm.java b/commons-numbers-core/src/main/java/org/apache/commons/numbers/core/Norm.java index 92587fc..e35fdfa 100644 --- a/commons-numbers-core/src/main/java/org/apache/commons/numbers/core/Norm.java +++ b/commons-numbers-core/src/main/java/org/apache/commons/numbers/core/Norm.java @@ -249,7 +249,7 @@ public enum Norm { * * <p><strong>Comparison with Math.hypot()</strong> * While not guaranteed to return the same result, this method provides - * similar error bounds as {@link Math#hypot()} (and may run faster on + * similar error bounds as {@link Math#hypot(double, double)} (and may run faster on * some JVM). * * @param x first input diff --git a/commons-numbers-quaternion/src/main/java/org/apache/commons/numbers/quaternion/Quaternion.java b/commons-numbers-quaternion/src/main/java/org/apache/commons/numbers/quaternion/Quaternion.java index 1bfbc46..1d62219 100644 --- a/commons-numbers-quaternion/src/main/java/org/apache/commons/numbers/quaternion/Quaternion.java +++ b/commons-numbers-quaternion/src/main/java/org/apache/commons/numbers/quaternion/Quaternion.java @@ -94,7 +94,7 @@ public final class Quaternion implements Serializable { private final ToDoubleFunction<Quaternion> normSq; /** {@link Quaternion#norm()}. */ private final ToDoubleFunction<Quaternion> norm; - /** {@link Quaternion#isUnit()}. */ + /** {@link Quaternion#isUnit(double)}. */ private final BiPredicate<Quaternion, Double> testIsUnit; /** Default implementations. */ @@ -107,7 +107,7 @@ public final class Quaternion implements Serializable { private static final ToDoubleFunction<Quaternion> NORM = q -> Math.sqrt(NORMSQ.applyAsDouble(q)); - /** {@link Quaternion#isUnit()}. */ + /** {@link Quaternion#isUnit(double)}. */ private static final BiPredicate<Quaternion, Double> IS_UNIT = (q, eps) -> Precision.equals(NORM.applyAsDouble(q), 1d, eps); }