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 22:54:00 UTC
[jira] [Closed] (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 closed NETBEANS-5066.
---------------------------------
Fix Version/s: 12.3
Resolution: Fixed
integrated..
> 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
> Labels: pull-request-available
> Fix For: 12.3
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> 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