| Summary: | [pull up] 'pull up' to interface generates unused imports in the interface | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Tomasz Bartczak <kretes> |
| Component: | UI | Assignee: | JDT-UI-Inbox <jdt-ui-inbox> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | daniel_megert, Olivier_Thomann, reprogrammer |
| Version: | 3.5 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows Vista | ||
| Whiteboard: | |||
Move to JDT/UI |
Build ID: I20090522-1710 Steps To Reproduce: testcase: #File1 org.eclipse; import java.util.Arrays; public class TestCase implements ITestCase { String property; public String getProperty() { property = Arrays.class.toString(); return property; } public void setProperty(String property) { this.property = property; } } #File2 package org.eclipse; public interface ITestCase { } now go to TestCase.java | refactor | pull up | select 'getProperty() | Finish the interface looks like this: ----------------------------- package org.eclipse; import java.util.Arrays; public interface ITestCase { public String getProperty(); } with unused and not necessary import