mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
use interface where possible: ignore right hand of assignment type argument (IDEADEV-39117)
This commit is contained in:
@@ -0,0 +1 @@
|
||||
interface I{}
|
||||
@@ -0,0 +1 @@
|
||||
class IImpl implements I{}
|
||||
@@ -0,0 +1,6 @@
|
||||
import java.util.*;
|
||||
class U {
|
||||
public static void main(String[] args) {
|
||||
List<List<I>> l = new ArrayLits<List<I>>();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
interface I{}
|
||||
@@ -0,0 +1 @@
|
||||
class IImpl implements I{}
|
||||
@@ -0,0 +1,6 @@
|
||||
import java.util.*;
|
||||
class U {
|
||||
public static void main(String[] args) {
|
||||
List<List<IImpl>> l = new ArrayLits<List<IImpl>>();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
interface I{}
|
||||
@@ -0,0 +1 @@
|
||||
class IImpl implements I{}
|
||||
@@ -0,0 +1,6 @@
|
||||
import java.util.*;
|
||||
class U {
|
||||
public static void main(String[] args) {
|
||||
List<I> l = new ArrayLits<I>();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
interface I{}
|
||||
+1
@@ -0,0 +1 @@
|
||||
class IImpl implements I{}
|
||||
@@ -0,0 +1,6 @@
|
||||
import java.util.*;
|
||||
class U {
|
||||
public static void main(String[] args) {
|
||||
List<IImpl> l = new ArrayLits<IImpl>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user