mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
OptionalToIfInspection: propagate rename to nested flatMap
GitOrigin-RevId: ae65a4a91dbefc73bd160a2b92a36e296fed3c3e
This commit is contained in:
committed by
intellij-monorepo-bot
parent
104cca28f5
commit
349d58606e
+4
@@ -40,6 +40,10 @@ class Test {
|
||||
.isPresent();
|
||||
}
|
||||
|
||||
void nestedFlatMapWithOuterFlatMapParam(String param0) {
|
||||
String result = Optional.of(param0).flatMap(var0 -> Optional.of("foo").flatMap(var1 -> Optional.of(var0))).get();
|
||||
}
|
||||
|
||||
void nestedOr(String param0) {
|
||||
boolean result;
|
||||
result = Optional.of(param0)
|
||||
|
||||
Reference in New Issue
Block a user