diff options
Diffstat (limited to 'libjava/classpath/java/math/RoundingMode.java')
| -rw-r--r-- | libjava/classpath/java/math/RoundingMode.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libjava/classpath/java/math/RoundingMode.java b/libjava/classpath/java/math/RoundingMode.java index c85bf4ff533..140f0a36e4c 100644 --- a/libjava/classpath/java/math/RoundingMode.java +++ b/libjava/classpath/java/math/RoundingMode.java @@ -1,4 +1,4 @@ -/* RoundingMode.java -- An Enum to replace BigDecimal rounding constants. +/* RoundingMode.java -- An Enum to replace BigDecimal rounding constants. Copyright (C) 1999, 2000, 2002, 2004, 2005 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -52,7 +52,7 @@ public enum RoundingMode * For compatability with Sun's JDK */ private static final long serialVersionUID = 432302042773881265L; - + /** * Returns the RoundingMode object corresponding to the legacy rounding modes * in BigDecimal. @@ -80,9 +80,9 @@ public enum RoundingMode case BigDecimal.ROUND_UNNECESSARY: return UNNECESSARY; default: - throw new - IllegalArgumentException("invalid argument: " + rm + - ". Argument should be one of the " + + throw new + IllegalArgumentException("invalid argument: " + rm + + ". Argument should be one of the " + "rounding modes defined in BigDecimal."); } } |
