-1 for the 2 spaces / indent.

  S.

On Dec 12, 2010, at 4:37 PM, Olivier Grisel wrote:

> 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

--
Stefane Fermigier, Founder and Chairman, Nuxeo
Open Source, Java EE based, Enterprise Content Management (ECM)
http://www.nuxeo.com/ - +33 1 40 33 79 87 - http://twitter.com/sfermigier
Join the Nuxeo Group on LinkedIn: http://linkedin.com/groups?gid=43314
New Nuxeo release: http://nuxeo.com/dm54
"There's no such thing as can't. You always have a choice."

Reply via email to