NIHVIVO-646 Small style changes. A note in DataPropertyComparator.
This commit is contained in:
parent
43cb152455
commit
2c0e262412
1 changed files with 3 additions and 1 deletions
|
@ -20,7 +20,9 @@ public class DataPropertyComparator implements Comparator<Individual> {
|
|||
|
||||
int result;
|
||||
|
||||
// This pushes null values to the end of the list
|
||||
// Push null values to the end of the list.
|
||||
// Is this generally what's wanted? Or should this class be
|
||||
// NullLastDataPropertyComparator?
|
||||
if (dps1 == null) {
|
||||
result = (dps2 == null) ? 0 : 1;
|
||||
} else if (dps2 == null) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue