Martin Klähn created NETBEANS-3479:
--------------------------------------

             Summary: remove warning related to rawtype LinkedHashMap
                 Key: NETBEANS-3479
                 URL: https://issues.apache.org/jira/browse/NETBEANS-3479
             Project: NetBeans
          Issue Type: Improvement
            Reporter: Martin Klähn
            Assignee: Martin Klähn


There are compiler warnings about rawtype usage with a LinkedHashMap like the 
following
{code:java}
 [nb-javac] 
.../ide/spi.debugger.ui/test/unit/src/org/netbeans/api/debugger/PropertiesTest.java:460:
 warning: [rawtypes] found raw type: LinkedHashMap
 [nb-javac]             DEFAULT_VALUES.put(PROPERTY_NAMES[12], new 
LinkedHashMap());
 [nb-javac]                                                        ^
 [nb-javac]   missing type arguments for generic class LinkedHashMap<K,V>
 [nb-javac]   where K,V are type-variables:
 [nb-javac]     K extends Object declared in class LinkedHashMap
 [nb-javac]     V extends Object declared in class LinkedHashMap
{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-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