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/11/27 21:07:00 UTC

[jira] [Updated] (NETBEANS-3476) cleanup redundant casts..

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

Brad Walker updated NETBEANS-3476:
----------------------------------
    Description: 
There are a lot of places where the compiler tells us we are using redundant casts..

{code:java}
   [repeat] /home/bwalker/src/netbeans/groovy/groovy.editor/src/org/netbeans/modules/groovy/editor/api/parser/GroovyVirtualSourceProvider.java:436: warning: [cast] redundant cast to Statement
   [repeat]             Statement stat = (Statement) stats.get(0);
   [repeat]                              ^

{code}

This change removes all the redundant casts..

  was:
There are a lot of places where the compiler tells us we are using redundant casts..

{code:java}
   [repeat] /home/bwalker/src/netbeans/groovy/groovy.editor/src/org/netbeans/modules/groovy/editor/api/parser/GroovyVirtualSourceProvider.java:436: warning: [cast] redundant cast to Statement
   [repeat]             Statement stat = (Statement) stats.get(0);
   [repeat]                              ^
{code}

This change removes all the redundant casts..


> cleanup redundant casts..
> -------------------------
>
>                 Key: NETBEANS-3476
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-3476
>             Project: NetBeans
>          Issue Type: Improvement
>            Reporter: Brad Walker
>            Assignee: Brad Walker
>            Priority: Major
>
> There are a lot of places where the compiler tells us we are using redundant casts..
> {code:java}
>    [repeat] /home/bwalker/src/netbeans/groovy/groovy.editor/src/org/netbeans/modules/groovy/editor/api/parser/GroovyVirtualSourceProvider.java:436: warning: [cast] redundant cast to Statement
>    [repeat]             Statement stat = (Statement) stats.get(0);
>    [repeat]                              ^
> {code}
> This change removes all the redundant casts..



--
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