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 Wed, 26 Aug 2009 15:29:42 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for change notification.

The following page has been changed by JonathanEllis:
http://wiki.apache.org/cassandra/CodeStyle

------------------------------------------------------------------------------
   * 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.
+  * avoid redundant "this" references to member fields or methods
  
  == Multiline statements ==
  

Mime
View raw message