push down: preserve @Override if keep abstract was selected (IDEA-155600)

This commit is contained in:
Anna.Kozlova
2016-05-04 20:18:45 +02:00
parent 1a70d8bcbd
commit c9f72daaff
4 changed files with 56 additions and 16 deletions
@@ -0,0 +1,18 @@
interface Test {
/**
* some javadoc
*/
default void foo() {
System.out.println("I");
}
}
class C implements Test {
/**
* another javadoc
*/
@Override
public void foo() {
System.out.println("C");
}
}
@@ -0,0 +1,16 @@
interface Test {
/**
* some javadoc
*/
void foo();
}
class C implements Test {
/**
* another javadoc
*/
@Override
public void foo() {
System.out.println("C");
}
}