I vote 1

Bob.


On 05/12/06, Luis Sergio Oliveira <[EMAIL PROTECTED]> wrote:

 Linus Tolke wrote:



What is the "right" way to format generics? How many spaces shall be used?



1. No spaces.

{

    Map<String, String> map;

    List<MyInterface> mi;

}



2. Everywhere

{

    Map < String, String > map;

    List < MyInterface > mi;

}



            /Linus I think 1. is the "normal" way. But, you're asking for
the "right" way and that answer doesn't exist when you're asking about code
formating ;-)

 So, I'm answering based on my experience and on things like eclipse code
formating defaults.

 Luis

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to