bisq/desktop
Steven Barclay a392081462 Fix invalid neutral element handling in View comparators
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.
2019-09-17 18:59:34 +01:00
..
package Merge branch 'master' of github.com:bisq-network/bisq into release/v1.1.6 2019-09-17 15:52:51 +02:00
src Fix invalid neutral element handling in View comparators 2019-09-17 18:59:34 +01:00