Together's code formatter can do it OK. It can do all the indentation, brackets, javadoc formatting and removing unwanted and unused imports OK.
On the if, for, catch ( blah ) parenthesis stuff it's not so flexible though. Maybe this isn't too important anyway (there should probably be some flexibility on the part of the reader too :). Luke. Dain Sundstrom wrote: > Hi all, > > I wrote the JBossCMP code before I was aware the JBoss Code Style Guide, > so I now I want to run a beautifier to correct my code. Does any one > use a free beautifier that they have setup for JBoss? > > I found one called jacobe which seems to do the trick, but I have some > questions about the style guide. > > In class or interface declarations should I put a line terminator before > extends and implements as in the example code? > > Should I put a space between if and the open parenthesis? (There is not > one in the sample.) > > Should I put a space between catch and the open parenthesis? (There is > one in the sample.) > > Should I put a space between for and the open parenthesis? (There is one > in the sample.) > > > I'm not going to update the code until after DR1 in case it introduces > errors. > > thanks > -dain > > -- Luke Taylor. Monkey Machine Ltd. PGP Key ID: 0x57E9523C http://www.mkeym.com _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development