Brad Walker created NETBEANS-4755: ------------------------------------- Summary: remove use of deprecated API - getURL() Key: NETBEANS-4755 URL: https://issues.apache.org/jira/browse/NETBEANS-4755 Project: NetBeans Issue Type: Improvement Reporter: Brad Walker Assignee: Brad Walker
Remove the use of a deprecated API, getURL().. {code:java} [repeat] /home/bwalker/src/netbeans/platform/openide.loaders/src/org/openide/loaders/XMLDataObject.java:528: warning: [deprecation] getURL() in FileObject has been deprecated [repeat] String loc = getPrimaryFile().getURL().toExternalForm(); [repeat] ^ {code} In addition, this deprecated API never throws an exception. So once the change was made, also had to removed references to the unused exception. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- 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