IDEA-175517 Generic Map Autocomplete Always uses "Object" as type instead of the actual type

This commit is contained in:
peter
2017-07-07 18:49:25 +02:00
parent c7c2399460
commit 0e351d518b
8 changed files with 85 additions and 91 deletions
@@ -0,0 +1,5 @@
import java.util.*;
public class SomeClass {
HashMap<Integer, String> m = new HashMap<Integer, String>(<caret>);
}
@@ -0,0 +1,5 @@
import java.util.*;
public class SomeClass {
HashMap<Integer, String> m = new HashMap<<caret>>();
}
@@ -0,0 +1,5 @@
import java.util.*;
public class SomeClass {
Map<Integer, String> m = new HashMap<Integer, String>(<caret>);
}
@@ -0,0 +1,5 @@
import java.util.*;
public class SomeClass {
Map<Integer, String> m = new HashMap<<caret>>();
}