You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by Apache Wiki <wi...@apache.org> on 2005/12/12 18:33:01 UTC
[Ws Wiki] Update of "FrontPage/Axis2/CodeQuality" by SanjivaWeerawarana
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