Merge commit 'a85b798667f6a81500b21eda3c8d508a28cb969c' into egorzhdan/coverage

GitOrigin-RevId: 55b653eb620e8dc5642c467b0308e447a5ac32a7
This commit is contained in:
Vyacheslav Karpukhin
2019-06-12 17:37:11 +02:00
committed by intellij-monorepo-bot
parent 32a43be751
commit 24d766790c
272 changed files with 2427 additions and 3771 deletions

View File

@@ -1,27 +0,0 @@
import java.util.function.Function;
class MyTest {
{
Function<B, Try<A>> aNew = Try::new;
Try<B> bTry = new Try<>(new B());
Try<A> aTry = bTry.flatMap(Try::new);
}
private static class A { }
private static class B extends A { }
private static class Try<T> {
public Try(T t) {
}
public Try(Exception e) {
}
public <U> Try<U> flatMap(Function<? super T, Try<U>> mapper) {
return null;
}
}
}