Brad Walker created NETBEANS-3107:
-------------------------------------

             Summary: cleanup use of generics
                 Key: NETBEANS-3107
                 URL: https://issues.apache.org/jira/browse/NETBEANS-3107
             Project: NetBeans
          Issue Type: Improvement
            Reporter: Brad Walker


I'm trying to clean up the use of generics when there is a private method or 
variable.

For example, we see a lot of the follow code in the source tree:
{code:java}
private Map/*<Connection, Driver>*/ conn2Driver = new WeakHashMap();{code}
Change this to
{code:java}
private Map<Connection, Driver> conn2Driver = new WeakHashMap<>();{code}
Java really wants us to use Generics and this looks like it was a work in 
progress. So I'm simply trying to complete it.

 

 



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to