mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 03:13:40 +07:00
restore error on diamonds under 1.6 (IDEA-121377)
This commit is contained in:
+1
-1
@@ -27,7 +27,7 @@ class UnsupportedFeatures {
|
||||
for (String s : args) { System.out.println(s); }
|
||||
|
||||
List<String> list =
|
||||
new ArrayList<>();
|
||||
new ArrayList<error descr="Diamond types are not supported at this language level"><></error>();
|
||||
|
||||
for (String s : list) {}
|
||||
Arrays.asList("");
|
||||
|
||||
Reference in New Issue
Block a user