Brad Walker created NETBEANS-5066:
-------------------------------------

             Summary: cleanup usage of EMPTY_MAP
                 Key: NETBEANS-5066
                 URL: https://issues.apache.org/jira/browse/NETBEANS-5066
             Project: NetBeans
          Issue Type: Improvement
            Reporter: Brad Walker
            Assignee: Brad Walker


In many places there are unchecked conversion warnings.. This change reduces 
these errors when using Collections.EMPTY_MAP to a bare minimum..

For example,

{code:java}
   [repeat] 
/tmp/netbeans/enterprise/websvc.rest/src/org/netbeans/modules/websvc/rest/support/SourceGroupSupport.java:172:
 warning: [unchecked] unchecked conversion
   [repeat]             result = Collections.EMPTY_MAP;
   [repeat]                                 ^
   [repeat]   required: Map<FileObject,SourceGroup>
   [repeat]   found:    Map
{code}

Clean this up..



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