mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
12 lines
267 B
Java
12 lines
267 B
Java
// "Replace with 'Boolean.TRUE.equals(flag)'" "true-preview"
|
|
|
|
import org.jetbrains.annotations.Nullable;
|
|
|
|
class Test {
|
|
boolean test(@Nullable Boolean flag) {
|
|
if (/*a*/Boolean.TRUE.equals(flag)/*b*/) {
|
|
System.out.println("ok");
|
|
}
|
|
return true;
|
|
}
|
|
} |