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 Tue, 30 Nov 2010 21:12:56 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.
The comment on this change is: Some more suggested rules.
http://wiki.apache.org/commons/CodeStyle?action=diff&rev1=4&rev2=5

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

  ||Imports: No wildcards ||error ||
  ||Imports: Order by groups: java, javax, org, com ||warning ||
  ||Imports: Order in alphabetical order with a group ||warning ||
+ ||Indentation: (Java) use 4 spaces || warning ||
+ ||Indentation: (POM) prefer 4 spaces, allow 2, but be consistent within a file (1) || info
||
  ||Add your rule here ||warning ||
  
+ Notes:
+ 1. POMs tend to have quite deeply nested elements, and many elements can be long and awkward
to wrap, so using 2 spaces is sometimes easier to read.
+ 

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


Mime
View raw message