cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Cassandra Wiki] Update of "CodeStyle" by JonathanEllis
Date Fri, 11 Jun 2010 23:51:08 GMT
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.

Mime
View raw message