Merge "Issue #1161 changed comparator" into development

Former-commit-id: 802b43036e [formerly 802b43036e [formerly 2d9bf3e785e72e8bc3b3a04d186d3c76ddc1eebb]]
Former-commit-id: a691386102
Former-commit-id: 9f1f054f4c
This commit is contained in:
Lee Venable 2012-09-11 10:02:21 -05:00 committed by Gerrit Code Review
commit aa256d89e5

View file

@ -342,7 +342,7 @@ public class FFMPBasin implements ISerializableObject, Cloneable {
@Override
public int compare(Date o1, Date o2) {
// Null checks?
return (o2.before(o1) ? -1 : (o1.equals(o2) ? 0 : 1));
return (int)Math.signum(o2.getTime() - o1.getTime()) ;
}
});