* java/lang/Integer.java: Merged with Classpath.
From-SVN: r44478
This commit is contained in:
@@ -267,10 +267,8 @@ public final class Integer extends Number implements Comparable
|
||||
*/
|
||||
public static String toString(int num, int radix)
|
||||
{
|
||||
// Use optimized method for the typical case.
|
||||
if (radix == 10 ||
|
||||
radix < Character.MIN_RADIX || radix > Character.MAX_RADIX)
|
||||
return toString(num);
|
||||
if (radix < Character.MIN_RADIX || radix > Character.MAX_RADIX)
|
||||
radix = 10;
|
||||
|
||||
// For negative numbers, print out the absolute value w/ a leading '-'.
|
||||
// Use an array large enough for a binary number.
|
||||
|
||||
Reference in New Issue
Block a user