mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
OptionalToIfInspection: propagate rename to nested operations for flatMap and or
GitOrigin-RevId: 338d1c5e49a05fdd0ab60321275acc7ac51bcb4d
This commit is contained in:
committed by
intellij-monorepo-bot
parent
6e44d7266e
commit
fcd1363aee
+10
@@ -58,6 +58,16 @@ class Test {
|
||||
}
|
||||
}
|
||||
|
||||
void nestedOr(String param0) {
|
||||
boolean result;
|
||||
result = true;
|
||||
String s = null;
|
||||
if (param0 == null) throw new NullPointerException();
|
||||
String empty = null;
|
||||
s = param0;
|
||||
result = false;
|
||||
}
|
||||
|
||||
void flatMapsWithSameParamName(String param0) {
|
||||
if (param0 == null) throw new NullPointerException();
|
||||
String s = "foo";
|
||||
|
||||
Reference in New Issue
Block a user