Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
For Endpoint#getComparator() :
} else if (b.isMax) { return a.isMax ? 0 : -1; } else { if (a == null || b == null) throw new IllegalStateException();
The null check should be placed in the front.