Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 368423 - [xtend][ui] Duplicate QuickFix for imports
Summary: [xtend][ui] Duplicate QuickFix for imports
Status: CLOSED FIXED
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 2.3.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: M5   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-12 04:35 EST by Sebastian Zarnekow CLA
Modified: 2017-09-19 17:22 EDT (History)
1 user (show)

See Also:
sebastian.zarnekow: juno+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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