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

Brad Walker closed NETBEANS-3145.
---------------------------------
    Fix Version/s: 11.3
         Assignee: Brad Walker
       Resolution: Fixed

fixed in merge 
[f1592|https://github.com/apache/netbeans/commit/f1592df218c1add0f4088c0cb2f58eed02f649d4]

> reduce the number of redundant casts
> ------------------------------------
>
>                 Key: NETBEANS-3145
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-3145
>             Project: NetBeans
>          Issue Type: Improvement
>            Reporter: Brad Walker
>            Assignee: Brad Walker
>            Priority: Major
>             Fix For: 11.3
>
>
> The compiler is warning us we have many redundant casts.
> They look like this.
> {code:java}
> [repeat] 
> /home/bwalker/src/netbeans/platform/masterfs/src/org/netbeans/modules/masterfs/filebasedfs/naming/NamingFactory.java:253:
>  warning: [cast] redundant cast to FileNaming
>  [repeat] FileNaming cachedElement = (ref != null) ? (FileNaming) ref.get() : 
> null;
>  [repeat] {code}
> So just simply clean it up..



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

Reply via email to