mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
introduce parameter: ensure type is substituted in overriders (IDEA-155609)
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
class A<T> {
|
||||
void foo(final T anObject) {
|
||||
}
|
||||
}
|
||||
class B extends A<String> {
|
||||
void foo(final String anObject) {}
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
class A<T> {
|
||||
void foo() {
|
||||
T <selection>t</selection> = null;
|
||||
}
|
||||
}
|
||||
class B extends A<String> {
|
||||
void foo() {}
|
||||
}
|
||||
Reference in New Issue
Block a user