You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2019/08/20 21:18:00 UTC

[jira] [Updated] (NETBEANS-3011) reduce the "warning: [cast] redundant cast to"

     [ https://issues.apache.org/jira/browse/NETBEANS-3011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated NETBEANS-3011:
-------------------------------------
    Labels: pull-request-available  (was: )

> 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
>            Priority: Major
>              Labels: pull-request-available
>
> 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