Re: [Codenarc-developer] ExplicitCallToAndMethod / ExplicitCallToOrMethod and Grails
Brought to you by:
chrismair
From: Hamlet D. <ham...@ca...> - 2010-11-11 19:11:41
|
i think it seems reasonable to ignore 'this' references like this.add() or just add() , which is the property I added to the rules. -- Hamlet D'Arcy ham...@ca... Hamlet, I'm wondering if changing ExplicitCallToAndMethodRule and ExplicitCallToOrMethodRule to ignore invocations where there is a single Closure parameter would address the typical Grails usage (and other DSLs as well) without hiding "bad" usages. Chris |