| Summary: | [xtend][ui] organize imports doesn't remove all unused imports | ||
|---|---|---|---|
| Product: | [Tools] Xtend | Reporter: | Knut Wannheden <knut.wannheden> |
| Component: | Core | Assignee: | Jan Koehnlein <jan> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | minor | ||
| Priority: | P3 | CC: | jan, moritz.eysholdt, sebastian.zarnekow, sven.efftinge |
| Version: | 2.2.0 | Flags: | sven.efftinge:
kepler+
|
| Target Milestone: | M4 | ||
| Hardware: | PC | ||
| OS: | Mac OS X - Carbon (unsup.) | ||
| Whiteboard: | |||
*** Bug 361386 has been marked as a duplicate of this bug. *** *** Bug 364971 has been marked as a duplicate of this bug. *** Fixed in HEAD: Import satys untouched and the field declaration is now shortened to @Inject Bar bar Requested via bug 522520. -M. Requested via bug 522520. -M. |
Given two Xtend files foo/Foo.xtend and bar/Bar.xtend: package foo import bar.Bar import com.google.inject.Inject public class Foo { @Inject bar.Bar bar } and: package bar class Bar { } There is a warning marker on the "import bar.Bar". But invoking the quick fix or the Organize Imports action directly does not have any effect and the warning marker remains.