Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 361125 - [xtend][imports] Organize imports does not update type references
Summary: [xtend][imports] Organize imports does not update type references
Status: CLOSED FIXED
Alias: None
Product: Xtend
Classification: Tools
Component: Core (show other bugs)
Version: 2.2.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: M4   Edit
Assignee: Jan Koehnlein CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-17 08:33 EDT by Jan Koehnlein CLA
Modified: 2017-10-31 11:31 EDT (History)
1 user (show)

See Also:
sven.efftinge: kepler+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Koehnlein CLA 2011-10-17 08:33:01 EDT
The organize imports action does not shorten type references. Thus, given

class Test implements java.io.Serializable {
}

and hitting CMD-SHIFT-O introduces a new import statement, without changing the reference to "Serializable". The import is marked as unused, but cannot be pruned with another CMD-SHIFT-O.
Comment 1 Sebastian Zarnekow CLA 2011-11-09 14:53:16 EST
Not 2.1
Comment 2 Jan Koehnlein CLA 2012-12-12 11:56:18 EST
Fixed in HEAD. We're better than JDT now ;-)
Comment 3 Jan Koehnlein CLA 2012-12-12 11:56:28 EST
.
Comment 4 Eclipse Webmaster CLA 2017-10-31 11:31:28 EDT
Requested via bug 522520.

-M.