-
Type:
Improvement
-
Status: Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 4.4
-
Fix Version/s: None
-
Component/s: Collection
-
Labels:None
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.