Bug 254657 - Fix deprecated calls of IWorkspaceRoot.findFilesForLocation(IPath)
Summary: Fix deprecated calls of IWorkspaceRoot.findFilesForLocation(IPath)
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.5   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: 3.5 M4   Edit
Assignee: Curtis Windatt CLA
QA Contact:
URL:
Whiteboard:
Keywords: bugday
Depends on:
Blocks:
 
Reported: 2008-11-07 16:40 EST by Chris Aniszczyk CLA
Modified: 2008-11-19 10:15 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Aniszczyk CLA 2008-11-07 16:40:26 EST
We have quite a few areas where we call:

IWorkspaceRoot.findFilesForLocation(IPath)

We should be calling:

IWorkspaceRoot.findFilesForLocationURI(URI)

For example, we call this in:

PDESourceLookupDirector.getArchiveSourceContainer(String)
Comment 1 Chris Aniszczyk CLA 2008-11-07 16:40:56 EST
Feel like biting on this one Curtis?
Comment 2 Curtis Windatt CLA 2008-11-10 11:31:47 EST
Why does this need to be changed?  Are we worried about people using config files outside of the workspace?
Comment 3 Curtis Windatt CLA 2008-11-10 11:34:43 EST
I see that it's been deprecated now, didn't realize I had the plug-in in my workspace.
Comment 4 Chris Aniszczyk CLA 2008-11-10 11:42:42 EST
Yes, we should aim to have 0 deprecated calls by the time 3.5 is out the door.

This is a start.
Comment 5 Curtis Windatt CLA 2008-11-19 10:15:47 EST
Fixed in HEAD.