This is an automated email from the ASF dual-hosted git repository.
garydgregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-lang.git
The following commit(s) were added to refs/heads/master by this push:
new a1a3bd056 Javadoc.
a1a3bd056 is described below
commit a1a3bd056e556e7cce7c34bae905ed7d047c79eb
Author: Gary Gregory <[email protected]>
AuthorDate: Sat Sep 19 07:45:02 2026 -0700
Javadoc.
---
src/main/java/org/apache/commons/lang3/math/Fraction.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/lang3/math/Fraction.java
b/src/main/java/org/apache/commons/lang3/math/Fraction.java
index a57845dd2..5e5d1d95c 100644
--- a/src/main/java/org/apache/commons/lang3/math/Fraction.java
+++ b/src/main/java/org/apache/commons/lang3/math/Fraction.java
@@ -321,7 +321,8 @@ public static Fraction getFraction(final String str) {
* @param numerator The numerator, for example the three in 'three
sevenths'
* @param denominator The denominator, for example the seven in 'three
sevenths'
* @return A new fraction instance, with the numerator and denominator
reduced
- * @throws ArithmeticException Thrown if the denominator is {@code zero}.
+ * @throws ArithmeticException Thrown if the denominator is {@code zero},
or the reduced numerator or positive denominator cannot be represented as an
+ * {@code int}.
*/
public static Fraction getReducedFraction(int numerator, int denominator) {
checkDenominator(denominator);