mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-20 10:22:18 +01:00
a392081462
Remove the flawed pattern of returning 0 in a comparator when the sub- field of one of the two inputs being compared is null or absent. This violates the Comparator contract, since returning 0 or otherwise should define an equivalence relation. Use Comparator.nullsFirst(..) in the table column comparators instead, to ensure consistent ordering when a cell is missing a value. This fixes ill-defined and erratic behaviour in the underlying merge/insertion sort of the table rows done by the FX library. |
||
---|---|---|
.. | ||
package | ||
src |