struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <newton.d...@yahoo.com>
Subject Re: JSON plugin 0.33 and Struts 2.1.6 (integrated with Spring 2.5)
Date Thu, 12 Mar 2009 18:42:19 GMT
Dale Newfield wrote:
>> public final List<String> getPayPlanTypes() {
>>     return payPlanTypes;
>> }
>>
>> public final void setPayPlanTypes(List<String> payPlanTypes) {
>>     this.payPlanTypes = payPlanTypes;
>> }
> I recognize that "final" for methods is an attempt to make this 
> not-over-ridable, but I wonder if that's not causing grief.  (Maybe the 
> compiler is in-lining them, but that means it's not visible in the 
> reflection api that's used to find the appropriate attributes?)

?!

Is that true? I've never seen or heard anything like that before; that 
seems like it would completely break everything JavaBean-ish ever.

Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message