mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
extract super class: check for conflicts under progress; skip check for superclass inheritors mismatch - as no actual members would go there
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
public class Test {
|
||||
void x() {
|
||||
foo();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
public class TestSubclass extends Test {
|
||||
|
||||
private void foo(){}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
public class Test {
|
||||
void x() {
|
||||
foo();
|
||||
}
|
||||
|
||||
private void foo(){}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
import java.util.ArrayList;
|
||||
|
||||
public class Test extends ArrayList {
|
||||
void x() {
|
||||
removeRange(0, 0);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
public class TestSubclass extends Test {
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
import java.util.*;
|
||||
public class Test extends ArrayList {
|
||||
void x() {
|
||||
removeRange(0, 0);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user