method call type: erasure should not be applied if method doesn't have type params; < 1.8 (IDEA-132810)

This commit is contained in:
Anna Kozlova
2014-11-25 17:13:03 +01:00
parent bb227e674f
commit 152df440c6
3 changed files with 22 additions and 1 deletions
@@ -0,0 +1,13 @@
import java.util.List;
import java.util.Set;
class Test {
void testCall(final Set set) {
for (String position : sortInvoice(set)) {}
}
private List<String> sortInvoice(Set<Integer> set) {
return null;
}
}