Rose 2000 Enterprise Edition...
        It also has that option, but like i said in that email, if i say i want
opening braces not on new line for methods, it constructs code like the
first code shown... It's very ugly, i'd like the third one better...
        Thank you

> -----Mensagem original-----
> De: Annamalai Viswanathan [mailto:[EMAIL PROTECTED]]
> Enviada em: quarta-feira, 28 de novembro de 2001 23:01
> Para: Frederico Rodrigues Abraham
> Cc: [EMAIL PROTECTED]
> Assunto: Re: (ROSE) Closing braces for methods

> What version of Rose are you using.  Rose 2001A allows you to specify
whether or not you
> want your opening braces on new lines for classes and methods.  Just take
a look in the
> Tools->Java/J2EE->Project Specification dialog box (under the Style tab).

> >         Java style on Rational Rose are extreme...
> >
> >         "Opening braces for methods"
> >         - true:
> >             public void incrementEnergy(int quantity) {
> >           this.energy += quantity;}
> >         - false:
> >             public void incrementEnergy(int quantity)
> >             {
> >           this.energy += quantity;
> >             }
> >
> >         Ain't there anything like:
> >             public void incrementEnergy(int quantity) {
> >           this.energy += quantity;
> >             }
> >
> >         ?...
> >         Opening braces for methods not on new line, closing on new
line... ";}" is
> > ugly as hell...:|

************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Admin.Subscription Requests: [EMAIL PROTECTED]
* Archive of messages: http://www.rational.com/support/usergroups/rose/rose_forum.jsp
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************

Reply via email to