mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
change signature: ensure propagation works for inheritors (IDEA-142350)
This commit is contained in:
+19
@@ -0,0 +1,19 @@
|
||||
public class C {
|
||||
void su<caret>bject(String s) {
|
||||
}
|
||||
|
||||
void caller() {
|
||||
int s;
|
||||
subject(null);
|
||||
}
|
||||
|
||||
void caller1() {
|
||||
caller();
|
||||
}
|
||||
}
|
||||
|
||||
class B extends C {
|
||||
void caller() {
|
||||
subject(null);
|
||||
}
|
||||
}
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
public class C {
|
||||
void subject(String s, boolean b) {
|
||||
}
|
||||
|
||||
void caller(boolean b) {
|
||||
int s;
|
||||
subject(null, b);
|
||||
}
|
||||
|
||||
void caller1() {
|
||||
caller(true);
|
||||
}
|
||||
}
|
||||
|
||||
class B extends C {
|
||||
void caller(boolean b) {
|
||||
subject(null, b);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user