[ https://issues.apache.org/jira/browse/NETBEANS-3416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated NETBEANS-3416: ------------------------------------- Labels: pull-request-available (was: ) > cleanup non-generic EMPTY_LIST usage > ------------------------------------ > > Key: NETBEANS-3416 > URL: https://issues.apache.org/jira/browse/NETBEANS-3416 > Project: NetBeans > Issue Type: Improvement > Reporter: Brad Walker > Assignee: Brad Walker > Priority: Major > Labels: pull-request-available > > There are several places where EMPTY_LIST is used in a generic context.. > {code:java} > [repeat] > /home/bwalker/src/netbeans/platform/options.keymap/src/org/netbeans/modules/options/keymap/KeymapModel.java:658: > warning: [unchecked] unchecked conversion > [repeat] return Collections.EMPTY_SET; > [repeat] ^ > [repeat] required: Collection<ShortcutAction> > [repeat] found: Set > {code} > Convert this code to use the emptyList() method.. This will maintain > type-safety and remove the warning.. -- 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