mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -140,6 +140,10 @@ public class Comparing {
|
||||
return o1 < o2 ? -1 : o1 == o2 ? 0 : 1;
|
||||
}
|
||||
|
||||
public static int compare(boolean o1, boolean o2) {
|
||||
return o1 == o2 ? 0 : o1 ? 1 : -1;
|
||||
}
|
||||
|
||||
public static int compare(int o1, int o2) {
|
||||
return o1 < o2 ? -1 : o1 == o2 ? 0 : 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user