Brad Walker created NETBEANS-3145:
-------------------------------------

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


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