You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2019/09/17 19:40:00 UTC
[jira] [Updated] (NETBEANS-3107) cleanup use of generics
[ https://issues.apache.org/jira/browse/NETBEANS-3107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated NETBEANS-3107:
-------------------------------------
Labels: pull-request-available (was: )
> cleanup use of generics
> -----------------------
>
> Key: NETBEANS-3107
> URL: https://issues.apache.org/jira/browse/NETBEANS-3107
> Project: NetBeans
> Issue Type: Improvement
> Reporter: Brad Walker
> Priority: Major
> Labels: pull-request-available
>
> 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-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists