5 lines
297 B
Plaintext
5 lines
297 B
Plaintext
When a collection is populated but its contents are never used, then it is surely some kind of mistake. Either refactoring has rendered the collection moot, or an access is missing.
|
|
|
|
|
|
This rule raises an issue when no methods are called on a collection other than those that add or remove values.
|