You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Martin Klähn (Jira)" <ji...@apache.org> on 2019/11/30 21:07:00 UTC

[jira] [Assigned] (NETBEANS-3460) remove warning related to rawtype TreeMap

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

Martin Klähn reassigned NETBEANS-3460:
--------------------------------------

    Assignee: Martin Klähn

> remove warning related to rawtype TreeMap
> -----------------------------------------
>
>                 Key: NETBEANS-3460
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-3460
>             Project: NetBeans
>          Issue Type: Improvement
>            Reporter: Martin Klähn
>            Assignee: Martin Klähn
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> There are compiler warnings about rawtype usage with a TreeMap like the following
> {code:java}
>  [nb-javac] ..../ide/spi.debugger.ui/test/unit/src/org/netbeans/api/debugger/LookupTest.java:62: warning: [rawtypes] found raw type: TreeMap
>  [nb-javac]         TreeMap treeMapInstance2 = new TreeMap();
>  [nb-javac]                                        ^
>  [nb-javac]   missing type arguments for generic class TreeMap<K,V>
>  [nb-javac]   where K,V are type-variables:
>  [nb-javac]     K extends Object declared in class TreeMap
>  [nb-javac]     V extends Object declared in class TreeMap
> {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