This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Patch: FYI: formatting fix
- From: Tom Tromey <tromey at redhat dot com>
- To: Java Patch List <java-patches at gcc dot gnu dot org>
- Date: 03 Dec 2002 13:09:45 -0700
- Subject: Patch: FYI: formatting fix
- Reply-to: tromey at redhat dot com
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));
}