|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD | |||||||
java.lang.Objectorg.codenarc.rule.AbstractAstVisitorRule
groovy.org.codenarc.rule.unnecessary.UnnecessaryCollectionCallRule
class UnnecessaryCollectionCallRule extends AbstractAstVisitorRule
Useless call to collections. This call doesn't make sense. For any collection c, calling c.containsAll(c) should always be true, and c.retainAll(c) should have no effect.
| Property Summary | |
|---|---|
Class |
astVisitorClass
|
String |
name
|
int |
priority
|
| Property Detail |
|---|
Class astVisitorClass
String name
int priority
Groovy Documentation