Revision 8dae61ea
Added by Andreas Müller about 8 years ago
cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/utility/DistributionNodeByAreaOrderComparator.java | ||
---|---|---|
36 | 36 |
}else if (area2 == null){ |
37 | 37 |
return 1; |
38 | 38 |
}else{ |
39 |
return area1.compareTo(area2);
|
|
39 |
return - area1.compareTo(area2); //term compare methods currently use wrong direction
|
|
40 | 40 |
} |
41 | 41 |
} |
42 | 42 |
} |
Also available in: Unified diff
Fix order for areas #5677