File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
sources/net.sf.j2s.java.core/src/java/lang Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1925,7 +1925,7 @@ try {
19251925 } ;
19261926 }
19271927} ;
1928- /**
1928+ /**sgurin
19291929 * Implements Java's keyword "instanceof" in JavaScript's way **for exception objects**.
19301930 *
19311931 * calls Clazz.instanceOf if e is a Java exception. If not, try to detect known native
Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ Integer.prototype.compareTo=function(anotherInt) {
135135var otherValue = anotherInt ;
136136if ( anotherInt . valueOf ) otherValue = anotherInt . valueOf ( ) ;
137137return java . lang . Integer . compare ( this . valueOf ( ) , otherValue ) ;
138- }
138+ } ;
139139//sgurin bit related methods
140140Integer . highestOneBit = Clazz . defineMethod ( Integer , "highestOneBit" ,
141141function ( i ) {
Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ Long.prototype.compareTo=function(anotherInt) {
135135var otherValue = anotherInt ;
136136if ( anotherInt . valueOf ) otherValue = anotherInt . valueOf ( ) ;
137137return java . lang . Long . compare ( this . valueOf ( ) , otherValue ) ;
138- }
138+ } ;
139139//sgurin bitwise related static methods
140140Long . bitCount = Clazz . defineMethod ( Long , "bitCount" , function ( i ) {
141141i = i - ( ( i >>> 1 ) & 0x5555555555555555 ) ;
You can’t perform that action at this time.
0 commit comments