You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by Apache Wiki <wi...@apache.org> on 2010/06/12 01:51:08 UTC
[Cassandra Wiki] Update of "CodeStyle" by JonathanEllis
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for change notification.
The "CodeStyle" page has been changed by JonathanEllis.
http://wiki.apache.org/cassandra/CodeStyle?action=diff&rev1=13&rev2=14
--------------------------------------------------
== Boilerplate ==
+ * Avoid redundant @Override annotations when implementing abstract or interface methods
* Do not implement equals or hashcode methods unless they are actually needed.
* Prefer public final fields to private fields with getters. (But prefer encapsulating behavior in "real" methods to either.)
* Prefer requiring initialization in the constructor to setters.