commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Commons Wiki] Update of "CodeStyle" by sebbapache
Date Mon, 13 Feb 2017 12:42:37 GMT
Dear Wiki user,

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

The "CodeStyle" page has been changed by sebbapache:
https://wiki.apache.org/commons/CodeStyle?action=diff&rev1=12&rev2=13

Comment:
OK to expose primitives via getter/setter

  ||Object visibility should be the minimum required (See notes)||warning ||
  ||Prefer immutable classes as these are automatically thread-safe ||info ||
  ||Mutable fields must be private (See notes)||error ||
- ||Mutable fields should not be exposed via getters/setters (See notes)||warning ||
+ ||Mutable fields (except primitives) should not be exposed via getters/setters (See notes)||warning
||
  ||Add your rule here ||warning ||
  
  Notes:

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


Mime
View raw message