mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
push down from interface to abstract class fixed (IDEA-82286)
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
abstract class StraightLine implements Inline {
|
||||
}
|
||||
|
||||
interface Inline {
|
||||
|
||||
void g<caret>o(); // inline this method
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
abstract class StraightLine implements Inline {
|
||||
public abstract void go(); // inline this method
|
||||
}
|
||||
|
||||
interface Inline {
|
||||
|
||||
}
|
||||
@@ -111,6 +111,10 @@ public class PushDownTest extends LightRefactoringTestCase {
|
||||
doTest();
|
||||
}
|
||||
|
||||
public void testMethodFromInterfaceToAbstractClass() throws Exception {
|
||||
doTest();
|
||||
}
|
||||
|
||||
public void testSameClassInterface() throws Exception {
|
||||
final String filePath = "/refactoring/pushDown/" + getTestName(false) + ".java";
|
||||
configureByFile(filePath);
|
||||
|
||||
Reference in New Issue
Block a user