Hi all,

I think we should adopt the same code conventions as other established
apache projects: Lucene, Solr and Mahout all use the Sun official code
conventions with the exception of using 2 spaces indents instead of 4.

  http://www.oracle.com/technetwork/java/codeconv-138413.html

There is an eclipse code formatter (along with an unmaintained idea
version) here:

  
https://cwiki.apache.org/confluence/display/MAHOUT/How+To+Contribute#HowToContribute-HelpfulResources

The whole wiki page HowToContribute on Mahout's wiki is worth a read
too (many practical details on how to make and apply a patch for
instance):

 https://cwiki.apache.org/confluence/display/MAHOUT/How+To+Contribute

The same formatters from the Apache Lucene / Solr projects are available
here:

  http://wiki.apache.org/solr/HowToContribute?action=AttachFile

Note you are off-course free to use another editor / IDE, I just mention this
as a convenience for the majority of the developers that seam to use eclipse.

Please vote with +1 / -1 in reply to this thread. If you are not a
project committer please add "(unbinding)" next to your vote.

If those conventions are accepted I would like to do a batch reformat of the
existing stanbol codebase using this formatter next week.

-- 
Olivier
http://twitter.com/ogrisel - http://github.com/ogrisel

Reply via email to