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

Bug 361125

Summary: [xtend][imports] Organize imports does not update type references
Product: [Tools] Xtend Reporter: Jan Koehnlein <jan>
Component: CoreAssignee: Jan Koehnlein <jan>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: sebastian.zarnekow
Version: 2.2.0Flags: sven.efftinge: kepler+
Target Milestone: M4   
Hardware: All   
OS: All   
Whiteboard:

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.