mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
redundant type args: copy expected type for top level calls(IDEA-184050)
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
// "Remove explicit type arguments" "true"
|
||||
import java.util.*;
|
||||
|
||||
class Foo {
|
||||
{
|
||||
List<String> m = new ArrayList<>(Collections.nCopies(1, null));
|
||||
}
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
// "Remove explicit type arguments" "true"
|
||||
import java.util.*;
|
||||
|
||||
class Foo {
|
||||
{
|
||||
List<String> m = new ArrayList<>(Collections.<St<caret>ring>nCopies(1, null));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user