You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Brad Walker (JIRA)" <ji...@apache.org> on 2019/07/16 16:34:00 UTC
[jira] [Created] (NETBEANS-2860) cleanup DefaultComboBoxModel
warnings..
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: 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