Doug Cutting wrote:
>
> This isn't a coding convention, but rather software engineering. If
> we wish to be able to back-compatibly modify Lucene's implementation
> at a later date, its usually easiest to have access through methods
> rather than fields, since we can intecept reads and writes to the field.
>
Standard accessor/mutator stuff... but how often is it used? Rarely if
ever... The point being there are a lot of benefits to just make it
non-final. I sent an email to commons-dev about this. I should
probably just blog about it so I can give you a permalink :)
Kevin
--
Use Rojo (RSS/Atom aggregator). Visit http://rojo.com. Ask me for an
invite! Also see irc.freenode.net #rojo if you want to chat.
Rojo is Hiring! - http://www.rojonetworks.com/JobsAtRojo.html
If you're interested in RSS, Weblogs, Social Networking, etc... then you
should work for Rojo! If you recommend someone and we hire them you'll
get a free iPod!
Kevin A. Burton, Location - San Francisco, CA
AIM/YIM - sfburtonator, Web - http://peerfear.org/
GPG fingerprint: 5FB2 F3E2 760E 70A8 6174 D393 E84D 8D04 99F1 4412
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org
|