You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Tomáš Procházka (Jira)" <ji...@apache.org> on 2021/01/02 21:13:00 UTC

[jira] [Resolved] (NETBEANS-3486) remove warning related to rawtype ConcurrentHashMap

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

Tomáš Procházka resolved NETBEANS-3486.
---------------------------------------
    Fix Version/s: 11.3
       Resolution: Fixed

Fix was merged.

> remove warning related to rawtype ConcurrentHashMap
> ---------------------------------------------------
>
>                 Key: NETBEANS-3486
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-3486
>             Project: NetBeans
>          Issue Type: Improvement
>            Reporter: Martin Klähn
>            Assignee: Martin Klähn
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 11.3
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
>  
> There are compiler warnings about rawtype usage with a ConcurrentHashMap like the following
> {code:java}
>    [repeat] .../platform/o.n.bootstrap/src/org/netbeans/PackageAttrsCache.java:74: warning: [rawtypes] found raw type: ConcurrentHashMap
>    [repeat]             cache = new ConcurrentHashMap();
>    [repeat]                         ^
>    [repeat]   missing type arguments for generic class ConcurrentHashMap<K,V>
>    [repeat]   where K,V are type-variables:
>    [repeat]     K extends Object declared in class ConcurrentHashMap
>    [repeat]     V extends Object declared in class ConcurrentHashMap
> {code}
> The aim is to change the code such that these warnings are no longer emitted by the compiler.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
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