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 2020/11/26 08:00:10 UTC

[jira] [Created] (NETBEANS-5066) cleanup usage of EMPTY_MAP

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