Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 357589 - [refactoring] ReferenceDescriptionSorter should use IStorage2UriMapper
Summary: [refactoring] ReferenceDescriptionSorter should use IStorage2UriMapper
Status: CLOSED FIXED
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 2.0.1   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: SR2   Edit
Assignee: Jan Koehnlein CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-14 02:28 EDT by Knut Wannheden CLA
Modified: 2017-09-19 17:06 EDT (History)
3 users (show)

See Also:
sven.efftinge: indigo+


Attachments
patch (1.60 KB, patch)
2011-09-14 02:29 EDT, Knut Wannheden CLA
sven.efftinge: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Knut Wannheden CLA 2011-09-14 02:28:41 EDT
ReferenceDescriptionSorter#sortByProject() currently assumes that the first segment of a reference's source URI corresponds to the Eclipse project name of the reference. This is only true for platform:/resource URIs. Instead the code should be using the IStorage2UriMapper for this. See attached patch for details.
Comment 1 Knut Wannheden CLA 2011-09-14 02:29:07 EDT
Created attachment 203316 [details]
patch
Comment 2 Jan Koehnlein CLA 2011-09-14 07:12:15 EDT
Yep, you are right. I often forget about your speceial scenario. 
Patch applied. Thanks.
Comment 3 Karsten Thoms CLA 2017-09-19 16:55:56 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 4 Karsten Thoms CLA 2017-09-19 17:06:49 EDT
Closing all bugs that were set to RESOLVED before Neon.0