Brad Walker created NETBEANS-2860:
-------------------------------------
Summary: cleanup DefaultComboBoxModel warnings..
Key: NETBEANS-2860
URL: https://issues.apache.org/jira/browse/NETBEANS-2860
Project: NetBeans
Issue Type: Bug
Reporter: Brad Walker
There are warnings related to the DefaultComboBoxModel..
{quote} [repeat]
/home/bwalker/netbeans/ide/bugtracking.commons/src/org/netbeans/modules/bugtracking/issuetable/FindInQueryBar.java:43:
warning: [rawtypes] found raw type: DefaultComboBoxModel
[repeat] private DefaultComboBoxModel lastSearchModel;
[repeat] ^
[repeat] missing type arguments for generic class DefaultComboBoxModel<E>
[repeat] where E is a type-variable:
[repeat] E extends Object declared in class DefaultComboBoxModel
[repeat]
/home/bwalker/netbeans/ide/bugtracking.commons/src/org/netbeans/modules/bugtracking/issuetable/FindInQueryBar.java:48:
warning: [rawtypes] found raw type: DefaultComboBoxModel
[repeat] lastSearchModel = new DefaultComboBoxModel();
[repeat] ^
[repeat] missing type arguments for generic class DefaultComboBoxModel<E>
[repeat] where E is a type-variable:
[repeat] E extends Object declared in class DefaultComboBoxModel{quote}
So reduce the warnings by simply adding a proper type to the variable
declaration..
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)
---------------------------------------------------------------------
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