[
https://issues.apache.org/jira/browse/NETBEANS-3011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brad Walker closed NETBEANS-3011.
---------------------------------
Assignee: Brad Walker
Resolution: Fixed
fixed & merged..
> reduce the "warning: [cast] redundant cast to"
> ----------------------------------------------
>
> Key: NETBEANS-3011
> URL: https://issues.apache.org/jira/browse/NETBEANS-3011
> Project: NetBeans
> Issue Type: Improvement
> Reporter: Brad Walker
> Assignee: Brad Walker
> Priority: Major
> Labels: pull-request-available
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> This work is to reduce the amount of warnings that are caused by a redundant
> cast..
> For example,
> {code:java}
> [repeat]
> /home/bwalker/netbeans/ide/xml.catalog.ui/src/org/netbeans/modules/xml/catalog/CatalogPanel.java:302:
> warning: [cast] redundant cast to DataObject
> [repeat] DataObject dobj = (DataObject)
> n.getLookup().lookup(DataObject.class);
> [repeat] ^{code}
> The only work done is to remove the redundant casting..
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
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