Now, to prevent that someone gets me wrong: I consider having code conventions a *good* thing! They provide guidance, which is very desirable. But I think the way of applying/enforcing them *does* matter and I think that templates are the wrong one to choose.
So: Let's just agree to disagree. Anyway, in case you're interested in my approach, I did a quick web search. Here are some promising pointers. I haven't tried any of them yet, due to a lack of spare time: * http://checkstyle.sourceforge.net/ * http://jalopy.sourceforge.net/ * http://java-source.net/open-source/code-beautifiers Cheers, DJ
