[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: extremely tiny patch
From: |
Brian Jones |
Subject: |
Re: extremely tiny patch |
Date: |
07 Apr 2003 23:40:26 -0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Archie Cobbs <address@hidden> writes:
> FWIW... 'numValue' is a char[] array so 'digit' can never be negative.
>
> -Archie
Committed, thanks.
Brian
>
> __________________________________________________________________________
> Archie Cobbs * Precision I/O * http://www.precisionio.com
>
> *** java/lang/Character.java.orig Sat Mar 15 14:17:37 2003
> --- java/lang/Character.java Sat Mar 15 14:17:49 2003
> ***************
> *** 1971,1977 ****
> {
> // Signedness doesn't matter; 0xffff vs. -1 are both rejected.
> int digit = numValue[attr >> 7];
> ! return (digit >= 0 && digit < radix) ? digit : -1;
> }
> return -1;
> }
> --- 1971,1977 ----
> {
> // Signedness doesn't matter; 0xffff vs. -1 are both rejected.
> int digit = numValue[attr >> 7];
> ! return (digit < radix) ? digit : -1;
> }
> return -1;
> }
>
>
> _______________________________________________
> Classpath mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/classpath
>
--
Brian Jones <address@hidden>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: extremely tiny patch,
Brian Jones <=