hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Httpcomponents Wiki] Trivial Update of "CodingConventions" by TonyPoppleton
Date Fri, 15 Jan 2010 23:32:12 GMT
Dear Wiki user,

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

The "CodingConventions" page has been changed by TonyPoppleton.
http://wiki.apache.org/HttpComponents/CodingConventions?action=diff&rev1=5&rev2=6

--------------------------------------------------

   * (TODO the following rule is not adhered to anywhere, but I would recommend it rather
than using the this. prefix) All instance fields should start with the m prefix (this is also
setup in the standard preferences). Don't use m prefix on local variables.
   * All static final fields should be capitalized, static non-final fields should have an
s prefix
   * Make fields final when possible
-  * Don't use public or protected fields
+  * Don't use public or protected fields (unless they are immutable/final)
   * All fields in an enum should be final (i.e. all enum instances should be immutable)
  }}}
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message