http://checkstyle.sourceforge.net/
If you want to get past the endless discussions:
write lossless converters so ppl could use whatever style they like. just convert backwards and forwards to your favourite style and that of the version control system.
adleast for whitespaces
so for example:
[quote]public void doFooMethod() {
…
}
[/quote]
vs
[quote]public void doFooMethod()
{
…
}
[/quote]
given the open source software that is avail now it should be trivial to implement and just have your IDE sort it out, and hide that the whole thing is happening away from the developer.
and for ppl who are fanatic about saving lines: try removing the brackets and use a different background colour.
The way the data is presented doesn’t really change the data.