mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-03 19:58:23 +07:00
9 lines
195 B
Java
9 lines
195 B
Java
// "Surround with 'if (i != null)'" "true-preview"
|
|
class A {
|
|
void foo(int x){
|
|
String i = x > 0 ? "" : null;
|
|
<caret>if (i != null) {
|
|
i.hashCode();
|
|
}
|
|
}
|
|
} |