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, 12 Aug 2009 20:39:25 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

------------------------------------------------------------------------------
  == Boilerplate ==
   
   * Do not implement equals or hashcode methods unless they are actually needed.
-  * Prefer public final fields to private fields with getters.
+  * 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.
  
  == Multiline statements ==

Mime
View raw message