mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-17 20:11:25 +07:00
recursive getLambdaParameterType problem: don't check nested lambda body for unchecked exceptions, that's impossible anyway (IDEA-146161)
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
import java.util.Optional;
|
||||
import java.util.concurrent.CompletableFuture;
|
||||
|
||||
class Test {
|
||||
|
||||
Optional<String> getOptionalAssigneeId() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public void getById(Optional<Test> join, CompletableFuture<Void> voidCompletableFuture) {
|
||||
voidCompletableFuture.thenApply(v -> {
|
||||
return join.map(caze -> {
|
||||
caze.getOptionalAssigneeId().map(id -> {
|
||||
String s = id;
|
||||
return null;
|
||||
});
|
||||
return null;
|
||||
});
|
||||
}).join();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user