mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-05 21:00:59 +07:00
DFA - removed smart pointers in the fix, changed naming and tests
GitOrigin-RevId: d136a7fee6bb26e8676d31d57a98f945959b3605
This commit is contained in:
committed by
intellij-monorepo-bot
parent
8831fa0312
commit
85fd5fb24f
@@ -7,6 +7,9 @@ class Test {
|
||||
public boolean c;
|
||||
|
||||
boolean test(@Nullable Boolean flag) {
|
||||
return c ? b && Boolean.FALSE.equals(flag) : c;
|
||||
/*a*/
|
||||
/*b*/
|
||||
/*c*/
|
||||
return c ? b && Boolean.FALSE.equals(flag) : c;
|
||||
}
|
||||
}
|
||||
@@ -4,7 +4,7 @@ import org.jetbrains.annotations.Nullable;
|
||||
|
||||
class Test {
|
||||
boolean test(@Nullable Boolean flag) {
|
||||
if (Boolean.TRUE.equals(flag)) {
|
||||
if (/*a*/Boolean.TRUE.equals(flag)/*b*/) {
|
||||
System.out.println("ok");
|
||||
}
|
||||
return true;
|
||||
|
||||
@@ -7,6 +7,6 @@ class Test {
|
||||
public boolean c;
|
||||
|
||||
boolean test(@Nullable Boolean flag) {
|
||||
return c ? b && !<caret>flag : c;
|
||||
return c ? b && !/*a*/(/*b*/(/*c*/<caret>flag)) : c;
|
||||
}
|
||||
}
|
||||
@@ -4,7 +4,7 @@ import org.jetbrains.annotations.Nullable;
|
||||
|
||||
class Test {
|
||||
boolean test(@Nullable Boolean flag) {
|
||||
if (<caret>flag) {
|
||||
if (/*a*/<caret>flag/*b*/) {
|
||||
System.out.println("ok");
|
||||
}
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user