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

 

************************************************

Linus Tolke

[EMAIL PROTECTED]   [EMAIL PROTECTED]

ArgoUML <http://argouml.tigris.org/> 

************************************************

 

Reply via email to