Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 439134

Summary: BasicLocation.getDataArea uses substring but discards the results
Product: [Eclipse Project] Equinox Reporter: Thomas Watson <tjwatson>
Component: FrameworkAssignee: Thomas Watson <tjwatson>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.10.0 Luna   
Target Milestone: Mars M3   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Thomas Watson CLA 2014-07-08 10:06:53 EDT
Not sure why we do a substring here, need to determine if it is needed.  The result is discarded so we currently do the substring but do not used the actual value.  See bug 437234 comment 13
Comment 1 Thomas Watson CLA 2014-07-08 10:10:54 EDT
I don't think this is a bug that will show any behavioral issues.  If the filename passed in starts with '/' then we will end up with a URL with a double '/'.  e.g. file://somebase/path//pathtofile if "/pathtofile" is used.  Should fix this though to eliminate confusion.
Comment 2 Thomas Watson CLA 2014-08-07 11:11:24 EDT
Missed M1.