mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-13 21:55:01 +07:00
testResolveDiamondBeforeOuterCall (fails if new expression type is requested before highlighting)
GitOrigin-RevId: b01abb3fbbebe28e3115aa109005851b62a02e7b
This commit is contained in:
committed by
intellij-monorepo-bot
parent
6153642c31
commit
85f72bfc0f
+12
@@ -0,0 +1,12 @@
|
||||
import java.util.Collection;
|
||||
import java.util.Set;
|
||||
import java.util.TreeSet;
|
||||
|
||||
class Test {
|
||||
Test(final Set<? super String> set) {
|
||||
System.out.println(join(new TreeSet<>(set), ""));
|
||||
}
|
||||
|
||||
public static String join(Iterable<?> items, String separator) {return items+separator;}
|
||||
public static String join(Collection<String> strings, String separator) {return strings + separator;}
|
||||
}
|
||||
Reference in New Issue
Block a user