[
https://issues.apache.org/jira/browse/NETBEANS-4755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brad Walker closed NETBEANS-4755.
---------------------------------
Resolution: Fixed
fixed & integrated..
> 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
> Priority: Major
> Labels: pull-request-available
> Time Spent: 2h 40m
> Remaining Estimate: 0h
>
> 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: [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