commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Royal <pro...@apache.org>
Subject Re: [jelly] Private vs Protected question
Date Thu, 04 Sep 2003 02:24:55 GMT
On Friday, August 15, 2003, at 08:14  PM, Sean W. Ferguson wrote:
> I am noticing in a lot of the code that there are private member 
> variables.  That makes it very hard for someone who is extending the 
> code, since they do not get access to those variables.  Is there a 
> reason for choosing private over protected?

Probably to protect the internal API of the tag. I'd be happy to accept 
patches to add protected accessor methods for those variables.
-pete


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message