Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
archetype-wrj-1.0.2
-
None
-
None
Description
final statements in the compare method compares with itself:
if (getDueBy() == null && other.getDueBy() == null || getDueBy().equals(this.getDueBy()))
{ return getDescription().compareTo(other.getDescription()); }return getDueBy().compareTo(getDueBy());
Should be:
if (getDueBy() == null && other.getDueBy() == null || getDueBy().equals(other.getDueBy())) { return getDescription().compareTo(other.getDescription()); }
return getDueBy().compareTo(other.getDueBy());