Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Remove the use of a deprecated API, getURL()..
[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] ^
In addition, this deprecated API never throws an exception. So once the change was made, also had to removed references to the unused exception.
Attachments
Issue Links
- links to