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:23 UTC
[jira] [Updated] (NETBEANS-5066) cleanup usage of EMPTY_MAP
warnings
[ https://issues.apache.org/jira/browse/NETBEANS-5066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brad Walker updated NETBEANS-5066:
----------------------------------
Summary: cleanup usage of EMPTY_MAP warnings (was: cleanup usage of EMPTY_MAP)
> cleanup usage of EMPTY_MAP warnings
> -----------------------------------
>
> Key: NETBEANS-5066
> URL: https://issues.apache.org/jira/browse/NETBEANS-5066
> Project: NetBeans
> Issue Type: Improvement
> Reporter: Brad Walker
> Assignee: Brad Walker
> Priority: Major
>
> 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