| Summary: | organize import deletes required base import | ||
|---|---|---|---|
| Product: | [Tools] Objectteams | Reporter: | Stephan Herrmann <stephan.herrmann> |
| Component: | OTDT | Assignee: | Stephan Herrmann <stephan.herrmann> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 2.0 | ||
| Target Milestone: | 2.1 M5 | ||
| Hardware: | Other | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 356003 | ||
|
Description
Stephan Herrmann
I could not reproduce the removing of required imports, but organize imports was indeed unable to *add* a missing import for JavaBuilder. Analysis yields that this happened for all base classes of roles that have the same name as their base class, which wrongly caused the role binding to occur also in the playedBy clause. Fixed by nulling the wrongly resolved base class binding. Now organize import recognizes this reference as unresolved and adds the required base import. Released for 2.1 M5 via commit 563b3091966ce9871ab99feebba66c805a29c628 Verified using build 2.2.1.201209182002 |