Skip to content

Commit 294c02f

Browse files
author
sebastigurin
committed
1 parent 7f6442a commit 294c02f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

sources/net.sf.j2s.java.core/src/java/lang/Class.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

sources/net.sf.j2s.java.core/src/java/lang/Integer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ Integer.prototype.compareTo=function(anotherInt) {
135135
var otherValue = anotherInt;
136136
if(anotherInt.valueOf) otherValue=anotherInt.valueOf();
137137
return java.lang.Integer.compare(this.valueOf(), otherValue);
138-
}
138+
};
139139
//sgurin bit related methods
140140
Integer.highestOneBit = Clazz.defineMethod (Integer, "highestOneBit",
141141
function (i) {

sources/net.sf.j2s.java.core/src/java/lang/Long.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ Long.prototype.compareTo=function(anotherInt) {
135135
var otherValue = anotherInt;
136136
if(anotherInt.valueOf) otherValue=anotherInt.valueOf();
137137
return java.lang.Long.compare(this.valueOf(), otherValue);
138-
}
138+
};
139139
//sgurin bitwise related static methods
140140
Long.bitCount = Clazz.defineMethod (Long, "bitCount", function (i) {
141141
i = i - ((i >>> 1) & 0x5555555555555555);

0 commit comments

Comments
 (0)