You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by er...@apache.org on 2019/06/08 20:14:26 UTC

[commons-numbers] 06/06: Javadoc.

This is an automated email from the ASF dual-hosted git repository.

erans pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-numbers.git

commit 8a16447e9fe5fd7b34cb5a6ca39d71bfc943c347
Author: Gilles Sadowski <gi...@harfang.homelinux.org>
AuthorDate: Sat Jun 8 22:13:36 2019 +0200

    Javadoc.
---
 .../main/java/org/apache/commons/numbers/fraction/BigFraction.java | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/commons-numbers-fraction/src/main/java/org/apache/commons/numbers/fraction/BigFraction.java b/commons-numbers-fraction/src/main/java/org/apache/commons/numbers/fraction/BigFraction.java
index a3d8ff7..538dc8d 100644
--- a/commons-numbers-fraction/src/main/java/org/apache/commons/numbers/fraction/BigFraction.java
+++ b/commons-numbers-fraction/src/main/java/org/apache/commons/numbers/fraction/BigFraction.java
@@ -290,7 +290,7 @@ public class BigFraction extends Number implements Comparable<BigFraction>, Seri
      * because the double number passed to the constructor is not exactly 1/3
      * (this number cannot be stored exactly in IEEE754).
      * </p>
-     * @see #BigFraction(double, double, int)
+     * @see BigFraction#from(double, double, int)
      * @param value the double value to convert to a fraction.
      * @exception IllegalArgumentException if value is NaN or infinite
      * @return a new instance.
@@ -320,8 +320,9 @@ public class BigFraction extends Number implements Comparable<BigFraction>, Seri
      * @see #BigFraction(double)
      * @return a new instance.
      */
-    public static BigFraction from(final double value, final double epsilon,
-                       final int maxIterations) {
+    public static BigFraction from(final double value,
+                                   final double epsilon,
+                                   final int maxIterations) {
         return new BigFraction(value, epsilon, Integer.MAX_VALUE, maxIterations);
     }