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/11/06 15:09:36 UTC
[commons-numbers] 03/04: 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 2b478e4e315c54b0b68d322579e80e4a4deba40b
Author: Gilles Sadowski <gi...@harfang.homelinux.org>
AuthorDate: Wed Nov 6 16:05:42 2019 +0100
Javadoc.
---
.../java/org/apache/commons/numbers/fraction/Fraction.java | 14 ++------------
1 file changed, 2 insertions(+), 12 deletions(-)
diff --git a/commons-numbers-fraction/src/main/java/org/apache/commons/numbers/fraction/Fraction.java b/commons-numbers-fraction/src/main/java/org/apache/commons/numbers/fraction/Fraction.java
index 8101a8d..5568bff 100644
--- a/commons-numbers-fraction/src/main/java/org/apache/commons/numbers/fraction/Fraction.java
+++ b/commons-numbers-fraction/src/main/java/org/apache/commons/numbers/fraction/Fraction.java
@@ -28,29 +28,19 @@ public class Fraction
implements Comparable<Fraction>,
NativeOperators<Fraction>,
Serializable {
-
/** A fraction representing "1". */
public static final Fraction ONE = new Fraction(1, 1);
-
/** A fraction representing "0". */
public static final Fraction ZERO = new Fraction(0, 1);
-
/** Serializable version identifier */
private static final long serialVersionUID = 20190701L;
-
/** Parameter name for fraction (to satisfy checkstyle). */
private static final String PARAM_NAME_FRACTION = "fraction";
-
/** The default epsilon used for convergence. */
private static final double DEFAULT_EPSILON = 1e-5;
-
- /** The denominator of this fraction reduced to lowest terms. Always positive. */
+ /** The denominator of this fraction reduced to lowest terms. */
private final int denominator;
-
- /**
- * The numerator of this fraction reduced to lowest terms. Negative if this
- * fraction's value is negative.
- */
+ /** The numerator of this fraction reduced to lowest terms. */
private final int numerator;
/**