PATCH: Comment fix in BigDecimal

Warren Levy warrenl@redhat.com
Wed Jan 10 02:26:00 GMT 2001


Trivial comment change.
--warrenl


2001-01-10  Warren Levy  <warrenl@redhat.com>

        * java/math/BigDecimal.java (divide): Fixed comment. 


Index: BigDecimal.java
===================================================================
RCS file: /cvs/gcc/egcs/libjava/java/math/BigDecimal.java,v
retrieving revision 1.3
diff -u -p -r1.3 BigDecimal.java
--- BigDecimal.java     2001/01/10 09:38:08     1.3
+++ BigDecimal.java     2001/01/10 10:23:01
@@ -146,7 +146,7 @@ public class BigDecimal extends Number i
     if (power < 0)
       {
        // Effectively increase the scale of val to avoid an
-       // IllegalArgumentException for a negative power.
+       // ArithmeticException for a negative power.
         valIntVal = valIntVal.multiply (BigInteger.valueOf (10).pow
(-power));
        power = 0;
       }





More information about the Java-patches mailing list