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 2019/08/20 21:14:00 UTC
[jira] [Created] (NETBEANS-3011) reduce the "warning: [cast]
redundant cast to"
Brad Walker created NETBEANS-3011:
-------------------------------------
Summary: 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
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.2#803003)
---------------------------------------------------------------------
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