This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Patch: FYI: formatting fix


I'm checking this in.
This is a trivial formatting fix I found while looking at a Classpath
diff.

Tom

Index: ChangeLog
from  Tom Tromey  <tromey@redhat.com>

	* java/lang/Character.java (forDigit): Formatting fix.

Index: java/lang/Character.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/lang/Character.java,v
retrieving revision 1.10
diff -u -r1.10 Character.java
--- java/lang/Character.java 12 Jul 2002 21:13:16 -0000 1.10
+++ java/lang/Character.java 3 Dec 2002 20:10:38 -0000
@@ -2079,8 +2079,8 @@
    */
   public static char forDigit(int digit, int radix)
   {
-    if (radix < MIN_RADIX || radix > MAX_RADIX ||
-        digit < 0 || digit >= radix)
+    if (radix < MIN_RADIX || radix > MAX_RADIX
+	|| digit < 0 || digit >= radix)
       return '\0';
     return (char) (digit < 10 ? ('0' + digit) : ('a' - 10 + digit));
   }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]