Booleans are no longer Comparable
This commit is contained in:
@@ -80,10 +80,6 @@ public class Intrinsics {
|
||||
return (thisVal<anotherVal ? -1 : (thisVal==anotherVal ? 0 : 1));
|
||||
}
|
||||
|
||||
public static int compare(boolean thisVal, boolean anotherVal) {
|
||||
return (thisVal == anotherVal ? 0 : (anotherVal ? 1 : -1));
|
||||
}
|
||||
|
||||
public static <R> R stupidSync(Object lock, Function0<R> block) {
|
||||
synchronized (lock) {
|
||||
return block.invoke();
|
||||
|
||||
Reference in New Issue
Block a user