Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
Remove a redundant null check in the compareTo function
if (!(source instanceof MetricsRegionSourceImpl)) { return -1; } MetricsRegionSourceImpl impl = (MetricsRegionSourceImpl) source; if (impl == null) { return -1; }