mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
type migration: use deeply immediate migration type copy instead of original one; attempt #2
This commit is contained in:
+2
-2
@@ -1,11 +1,11 @@
|
||||
public class Test {
|
||||
Base<String> b;
|
||||
|
||||
class Base {
|
||||
class Base<T> {
|
||||
|
||||
}
|
||||
|
||||
class A<T> extends Base {
|
||||
class A<T> extends Base<T> {
|
||||
T value;
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -1,11 +1,11 @@
|
||||
public class Test {
|
||||
B<Long> b;
|
||||
|
||||
class Base {
|
||||
class Base<T> {
|
||||
|
||||
}
|
||||
|
||||
class A<T> extends Base {
|
||||
class A<T> extends Base<T> {
|
||||
T value;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
class Test {
|
||||
public static void test() {
|
||||
String n = new AnInterface<String, Void>() {
|
||||
String n = new AnInterface<String,Void>() {
|
||||
@Override
|
||||
public String invoke(Void v) {
|
||||
return null;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
class Test {
|
||||
public static void test() {
|
||||
String n = new AnInterface2<String, Void>() {
|
||||
String n = new AnInterface2<String,Void>() {
|
||||
@Override
|
||||
public String invoke(Void v) {
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user