Pattern: Unnecessary collection call
Issue: -
Checks for useless calls to collections. For any collection c
, calling c.containsAll(c)
should always be true
, and c.retainAll(c)
should have no effect.
Pattern: Unnecessary collection call
Issue: -
Checks for useless calls to collections. For any collection c
, calling c.containsAll(c)
should always be true
, and c.retainAll(c)
should have no effect.