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/07/01 17:24:57 UTC
[commons-numbers] 03/07: NUMBERS-125: Clarify numerator 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 3fd195422205fd454c1e644f40c96c45e7a4ed9c
Author: Schamschi <he...@gmx.at>
AuthorDate: Mon Jul 1 15:18:56 2019 +0200
NUMBERS-125: Clarify numerator Javadoc
---
.../main/java/org/apache/commons/numbers/fraction/BigFraction.java | 7 +++++--
1 file changed, 5 insertions(+), 2 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 3971525..4cf1ecf 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
@@ -42,10 +42,13 @@ public class BigFraction extends Number implements Comparable<BigFraction>, Seri
/** Parameter name for BigIntegers (to satisfy checkstyle). */
private static final String PARAM_NAME_BG = "bg";
- /** The numerator of this fraction reduced to lowest terms. Possibly negative*/
+ /**
+ * The numerator of this fraction reduced to lowest terms. Negative if this
+ * fraction's value is negative.
+ */
private final BigInteger numerator;
- /** The denominator of this fraction reduced to lowest terms. Always positive*/
+ /** The denominator of this fraction reduced to lowest terms. Always positive. */
private final BigInteger denominator;
/**