[ 
https://issues.apache.org/jira/browse/NETBEANS-3107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brad Walker closed NETBEANS-3107.
---------------------------------
    Fix Version/s: 11.3
         Assignee: Brad Walker
       Resolution: Fixed

fixed and merged

> cleanup use of generics
> -----------------------
>
>                 Key: NETBEANS-3107
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-3107
>             Project: NetBeans
>          Issue Type: Improvement
>            Reporter: Brad Walker
>            Assignee: Brad Walker
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 11.3
>
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> 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.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to