mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-19 10:20:56 +07:00
15 lines
297 B
Java
15 lines
297 B
Java
// "Replace with 'Boolean.FALSE.equals(flag)'" "true-preview"
|
|
|
|
import org.jetbrains.annotations.Nullable;
|
|
|
|
class Test {
|
|
public boolean b;
|
|
public boolean c;
|
|
|
|
boolean test(@Nullable Boolean flag) {
|
|
/*a*/
|
|
/*b*/
|
|
/*c*/
|
|
return c ? b && Boolean.FALSE.equals(flag) : c;
|
|
}
|
|
} |