Minor. Formatting
This commit is contained in:
committed by
Andrey Breslav
parent
94c88695bb
commit
c5b0351aa7
@@ -70,7 +70,7 @@ private class Function2Comparator<T>(val compareFn: (T,T) -> Int): Comparator<T
|
||||
|
||||
public override fun compare(a: T, b: T): Int {
|
||||
if (a === b) return 0
|
||||
if (a == null) return - 1
|
||||
if (a == null) return -1
|
||||
if (b == null) return 1
|
||||
return (compareFn)(a, b)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user