Has anyone played with a decent cross platform tool that can easily
translate from style to style?  It seems that we will always have this
problem, but if we could gave something translate a users style back
into jboss style then we can end this thread once and for all.  Should
also help improve diffs.

--jason

 
On Tue, 2002-02-12 at 09:21, Luke Taylor wrote:
> 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



_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to