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;
4040Clazz . defineMethod ( Integer , "parseInt" ,
4141function ( s , radix ) {
4242if ( s == null ) {
43- throw new NumberFormatException ( "null" ) ;
43+ throw new NumberFormatException ( "null" ) ;
4444} 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" ) ;
4646} 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" ) ;
4848}
4949var 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 ) ;
5252}
5353return integer ;
5454} , "String, Number" ) ;
You can’t perform that action at this time.
0 commit comments