Project
IntelliJ IDEA
Priority
Normal
Type
Bug
Fix versions
No Fix versions
State
Fixed
Assignee
Dmitry Jemerov
Subsystem
Java. Refactoring
Affected versions
No Affected versions
Fixed in build
108.65  
  • Created by   Thomas Singer
    4 years ago (23 Nov 2007 16:41)
  • Updated by   root
    2 years ago (17 Jan 2010 20:55)
  • Jira: IDEADEV-23559
    (history, comments)
 
IDEA-42104 Safe Delete deletes used implementation
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
public interface IFoo {

	IBar getIBar();

	String getText();
}

public interface IBar {

	String getText();
}

public class Bar implements IFoo, IBar {

	public String getText() {
		return "hello";
	}

	public IBar getIBar() {
		return this;
	}
}

Safe-deleting the method {getString()} from {IFoo} will remove the implementation in {Bar} which is required for implementing {IBar}

Issue was resolved
Comments (1)
 
History
 
Linked Issues (?)
 
Alexander Chernikov
  Alexander Chernikov
03 Dec 2007 19:56
4 years ago
7583: fix confirmed.
This particular case is fixed, IDEA-42195 is created.