convert primitive to boxed when appropriate (IDEA-60267)

This commit is contained in:
Anna Kozlova
2012-11-04 17:19:06 +01:00
parent af2ae07dd9
commit c661cba6ed
7 changed files with 159 additions and 2 deletions

View File

@@ -0,0 +1,6 @@
// "Convert 'int' to 'java.lang.Integer'" "true"
import java.util.*;
class Test {
Set<Integer> f;
}

View File

@@ -0,0 +1,6 @@
// "Convert 'int' to 'java.lang.Integer'" "true"
import java.util.*;
class Test {
Set<? extends Integer> f;
}

View File

@@ -0,0 +1,6 @@
// "Convert 'int' to 'java.lang.Integer'" "true"
import java.util.*;
class Test {
Set<in<caret>t> f;
}

View File

@@ -0,0 +1,6 @@
// "Convert 'int' to 'java.lang.Integer'" "true"
import java.util.*;
class Test {
Set<? extends in<caret>t> f;
}