Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
4.4
-
None
-
None
Description
I think it's better to judge null in the code rather than let the user pass non null parameters.
For example, add such a piece of code:
if (isEmpty(coll1) || isEmpty(coll2)) { return false; }
It might be better in this way.