Re: [Codenarc-user] GrailsStatelessService - bean properties and dependencies
Brought to you by:
chrismair
From: <chr...@we...> - 2011-12-15 16:46:32
|
>> It will be unfortunate to disable the rule because it cannot anyhow handle bean depedencies and bean properties. Agreed. What about enhancing the rule to ignore fields that are declared as "def" (i.e., java.lang.Object), public, and with no initialized value. Would that be appropriate? Can you think of any better way to determine whether a field is injected? |