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-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to