mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 13:39:36 +07:00
light resolve tests when applicable
This commit is contained in:
@@ -9,7 +9,7 @@ class Test {
|
||||
}
|
||||
|
||||
public static void main(Stream<Test> stream) {
|
||||
stream.map(s -> Inner.of(Test::get<ref>Key, s));
|
||||
stream.map(s -> Inner.of(Test::get<caret>Key, s));
|
||||
}
|
||||
|
||||
public static final class Inner<K> {
|
||||
|
||||
@@ -12,7 +12,7 @@ abstract class Test {
|
||||
}
|
||||
}
|
||||
|
||||
final ArrayList<String> guavaList = newArrayList(fil<ref>ter(tweetList, new Predicate<String>() {
|
||||
final ArrayList<String> guavaList = newArrayList(fil<caret>ter(tweetList, new Predicate<String>() {
|
||||
@Override
|
||||
public boolean test(String tweet) {
|
||||
return false;
|
||||
|
||||
@@ -17,6 +17,6 @@ class MyTest {
|
||||
List<Integer> baz(Iterator<Integer> s, Iterator<Integer> i) {return null;}
|
||||
|
||||
{
|
||||
List<Integer> l = foo(a -> bar(b -> b<ref>az(a, b)));
|
||||
List<Integer> l = foo(a -> bar(b -> b<caret>az(a, b)));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@ abstract class Token {
|
||||
|
||||
private static B<Long> getMode(Optional<Map.Entry<Integer, Long>> max){
|
||||
return max
|
||||
.flatMap(e -> Optional.of(new B<>(Long.valu<ref>eOf(e.getValue().longValue()))))
|
||||
.flatMap(e -> Optional.of(new B<>(Long.valu<caret>eOf(e.getValue().longValue()))))
|
||||
.get();
|
||||
}
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ class Test {
|
||||
|
||||
{
|
||||
Set<Map.Entry<String, Integer>> sort3 = new TreeSet<>((x, y) -> {
|
||||
return Integer.compare(x.get<ref>Value(), y.getValue());
|
||||
return Integer.compare(x.get<caret>Value(), y.getValue());
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -16,6 +16,6 @@ class MyTest {
|
||||
List<Integer> baz(Iterator<Integer> s, Iterator<Integer> i) {return null;}
|
||||
|
||||
{
|
||||
List<Integer> l = foo(a -> bar(ba<ref>z(a.iterator(), a.iterator())));
|
||||
List<Integer> l = foo(a -> bar(ba<caret>z(a.iterator(), a.iterator())));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user