lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <cutt...@apache.org>
Subject Re: whitespace
Date Mon, 26 Mar 2007 18:06:48 GMT
Yonik Seeley wrote:
> The java coding standards do say
> "Spaces after keywords but no spaces either before or after
> parentheses in method calls"
> 
> "if (a)" and "foo(a)"

Lucene's formatting guidelines are stated at:

http://wiki.apache.org/lucene-java/HowToContribute

In short, they say: Sun's conventions, *except* two-space indentation. 
I think it is fair to bounce a patch for flagrantly violating these, or 
to unilaterally repair its formatting prior to commit.  It's painful to 
re-format code after it is committed.

That's the current policy.  It could be changed with a vote.

Doug

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


Mime
View raw message