use interface where possible: ignore right hand of assignment type argument (IDEADEV-39117)

This commit is contained in:
anna
2009-10-08 11:47:56 +04:00
parent 24d39869bb
commit d7da82925e
14 changed files with 46 additions and 0 deletions
@@ -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 @@
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>();
}
}