FUTURE_INFINITY > FUTURE_INFINITY
AbsoluteDate.FUTURE_INFINITY.compareTo(AbsoluteDate.FUTURE_INFINITY)
currently returns 1
, but it should return 0
according to the contract of Comparator.compareTo()
.
This would break strict backward compatibility, but currently any TreeMap
or TreeSet
with ChronologicalComparator
(of which Orekit has several) will not work correctly. I'll push a fix tomorrow unless I hear any objections.