BradWalker opened a new pull request #1644: [NETBEANS-3416] - cleanup 
non-generic EMPTY_LIST usage
URL: https://github.com/apache/netbeans/pull/1644
 
 
   There are several places where EMPTY_LIST is used in a generic context..
   
     [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
   
   Convert this code to use the emptyList() method.. This will maintain 
type-safety and remove the warning..

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
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

Reply via email to