-
Enhancement
-
Resolution: Not an Issue
-
P4
-
None
-
8, 11, 17, 21
-
generic
-
generic
A DESCRIPTION OF THE PROBLEM :
The function `getEntryUsingComparator` is called only after checking the comparator is null or not. Then again in the function, the comparator is checked for null. This is redundant because the function is called only when the comparator is not null. Thus, there is no need to check it again inside the function.
The function `getEntryUsingComparator` is called only after checking the comparator is null or not. Then again in the function, the comparator is checked for null. This is redundant because the function is called only when the comparator is not null. Thus, there is no need to check it again inside the function.