commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aherb...@apache.org
Subject [commons-numbers] branch master updated: FractionException: Removed unused exception constant.
Date Wed, 08 Apr 2020 21:27:10 GMT
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 f3bab83  FractionException: Removed unused exception constant.
f3bab83 is described below

commit f3bab83e11afc75e8246d72f04c6cb3787356b4e
Author: Alex Herbert <aherbert@apache.org>
AuthorDate: Wed Apr 8 22:25:54 2020 +0100

    FractionException: Removed unused exception constant.
---
 .../java/org/apache/commons/numbers/fraction/FractionException.java     | 2 --
 1 file changed, 2 deletions(-)

diff --git a/commons-numbers-fraction/src/main/java/org/apache/commons/numbers/fraction/FractionException.java
b/commons-numbers-fraction/src/main/java/org/apache/commons/numbers/fraction/FractionException.java
index 39c1a8b..a64ef1c 100644
--- a/commons-numbers-fraction/src/main/java/org/apache/commons/numbers/fraction/FractionException.java
+++ b/commons-numbers-fraction/src/main/java/org/apache/commons/numbers/fraction/FractionException.java
@@ -27,8 +27,6 @@ class FractionException extends ArithmeticException {
     static final String ERROR_CONVERSION_OVERFLOW = "Overflow trying to convert {0} to fraction
({1}/{2})";
     /** Error message when iterative conversion fails. */
     static final String ERROR_CONVERSION = "Unable to convert {0} to fraction after {1} iterations";
-    /** Error message for overflow by negation. */
-    static final String ERROR_NEGATION_OVERFLOW = "Overflow in fraction {0}/{1}, cannot negate";
     /** Error message for zero-valued denominator. */
     static final String ERROR_ZERO_DENOMINATOR = "Denominator must be different from 0";
     /** Error message for divide by zero. */


Mime
View raw message