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

Bug 368423

Summary: [xtend][ui] Duplicate QuickFix for imports
Product: [Modeling] TMF Reporter: Sebastian Zarnekow <sebastian.zarnekow>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jan
Version: 2.3.0Flags: sebastian.zarnekow: juno+
Target Milestone: M5   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Sebastian Zarnekow CLA 2012-01-12 04:35:41 EST
package bug

import java.util.List

class XtendClass {

	def void testToUpperCase() {
		val ArrayList list = newArrayList("Hello", "Xtend")
	}

}

1) Try to use the quickfix on ArrayList
2) Note two entries "import java.util.ArrayList"
Comment 1 Jan Koehnlein CLA 2012-01-17 12:04:00 EST
Actually three issues here
- the label was incomplete: the second quick fix pointed to the inner class java.util.Arrays.ArrayList
- for inner classes, an import with '.' as inner class separator was generated
- unreachable classes were proposed

All three fixed and pushed to MASTER
Comment 2 Karsten Thoms CLA 2017-09-19 17:11:06 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 3 Karsten Thoms CLA 2017-09-19 17:22:45 EDT
Closing all bugs that were set to RESOLVED before Neon.0