Project
IntelliJ IDEA: Backlog
Priority
Normal
Type
Bug
Fix versions
No Fix versions
State
Open
Assignee
Eugene Vigdorchik
Subsystem
Refactoring
Affected versions
No Affected versions
Fixed in build
No Fixed in build
  • Created by   Sascha Weinreuter
    5 years ago (31 Jul 2006 14:09)
  • Updated by   Sascha Weinreuter
    5 years ago (10 Nov 2006 16:12)
  • Jira: IDEABKL-4822
    (history, comments)
 
IDEABKL-4822 Pulling up inner interface into implemented interface doesn't update all references to it
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
Example:

Before
package a;
public interface Foo {
    FooImpl.I getI();
}

package a;
public class FooImpl implements Foo {
    public interface I {
    }

    public I getI() {
        return null;
    }
}


Result after pulling up "I" or moving "I" into Foo:

After
package a;
public interface Foo {
    FooImpl.I getI();      // <<< should be just "I" now

    interface I {
    }
}


It's a rather exotic case, but can happen after "Extract Interface" and forgetting to select the inner interface, and correcting this by pulling up the interface in an extra step.
Comments (0)
 
History
 
Linked Issues (?)
 
Issue has no comments