ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Ws Wiki] Update of "FrontPage/Axis2/CodeQuality" by SanjivaWeerawarana
Date Mon, 12 Dec 2005 17:33:01 GMT
Dear Wiki user,

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

The following page has been changed by SanjivaWeerawarana:
http://wiki.apache.org/ws/FrontPage/Axis2/CodeQuality

------------------------------------------------------------------------------
  
    - If you failed to do something add a comment {{{// TODO}}} or {{{// FIXME}}} to let other
committers know
  
+ * Order of content in a class
+ 
+   - All field definitions must be at the top of the class
+ 
+   - Immediately after that should be the constructors, ordered from most specific (in terms
of the number of args) to the least specific (being a no-args constructor, where appropriate)
+ 
+   - Immediately after that should be private methods that are used by constructors
+ 
+   - Immediately after that should be getter/setter methods for properties
+ 
+   - Immediately after that are all public methods
+ 
+   - Finally the private methods used by the class
   
  

Mime
View raw message