commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig McClanahan <craig...@apache.org>
Subject Re: [resources] Changing instance variables from protected to private
Date Wed, 23 Nov 2005 02:42:36 GMT
On 11/22/05, Niall Pemberton <niall.pemberton@blueyonder.co.uk> wrote:
>
> Is there any objection to me changing instance variables from "protected"
> to
> "private"?


+1 unless there are already subclasses that access such variables from their
superclass ... in which case we should evaluate whether a getter method
might be better.  You can always loosen access rights later, but you can't
put the toothpaste back in the tube.

Niall


Craig

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message