File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
sources/net.sf.j2s.java.core/src/java/lang Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -40,15 +40,15 @@ Integer.TYPE = Integer.prototype.TYPE = Integer;
40
40
Clazz . defineMethod ( Integer , "parseInt" ,
41
41
function ( s , radix ) {
42
42
if ( s == null ) {
43
- throw new NumberFormatException ( "null" ) ;
43
+ throw new NumberFormatException ( "null" ) ;
44
44
} if ( radix < 2 ) {
45
- throw new NumberFormatException ( "radix " + radix + " less than Character.MIN_RADIX" ) ;
45
+ throw new NumberFormatException ( "radix " + radix + " less than Character.MIN_RADIX" ) ;
46
46
} if ( radix > 36 ) {
47
- throw new NumberFormatException ( "radix " + radix + " greater than Character.MAX_RADIX" ) ;
47
+ throw new NumberFormatException ( "radix " + radix + " greater than Character.MAX_RADIX" ) ;
48
48
}
49
49
var integer = parseInt ( s , radix ) ;
50
- if ( isNaN ( integer ) ) {
51
- throw new NumberFormatException ( "Not a Number : " + s ) ;
50
+ if ( isNaN ( integer ) ) {
51
+ throw new NumberFormatException ( "Not a Number : " + s ) ;
52
52
}
53
53
return integer ;
54
54
} , "String, Number" ) ;
You can’t perform that action at this time.
0 commit comments