mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-17 20:11:25 +07:00
don't cache substitutors during processing of all candidates (blinking red code)
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
import java.util.function.Function;
|
||||
import java.util.*;
|
||||
|
||||
class Test {
|
||||
void m(Set<String> i) {
|
||||
final List<String> getters = new ArrayList<String>(map(i, new Func<caret>tion<String, String>() {
|
||||
@Override
|
||||
public String apply(String propertyName) {
|
||||
return propertyName;
|
||||
}
|
||||
}));
|
||||
}
|
||||
|
||||
|
||||
public static <T,V> List<V> map(Iterable<? extends T> iterable, Function<T, V> mapping) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public static <T,V> List<V> map(Collection<? extends T> iterable, Function<T, V> mapping) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user