S2201 already support common methods, we should extends the list with methods from:
- java.util.Collection:
- size
- isEmpty
- contains
- containsAll
- iterator
- toArray (without argument)
- java.util.Map:
- get
- getOrDefault
- size
- isEmpty
- containsKey
- containsValue
- keySet
- entrySet
- values
- relates to
-
RSPEC-2201 Return values from functions without side effects should not be ignored
- Active
- links to