mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-25 02:21:17 +07:00
12 lines
258 B
Java
12 lines
258 B
Java
// "Surround with 'if (i != null)'" "true-preview"
|
|
import org.jetbrains.annotations.Nullable;
|
|
|
|
class A {
|
|
void foo(@Nullable String i) {
|
|
Runnable r = () -> {
|
|
if (i != null) {
|
|
i.length();
|
|
}
|
|
};
|
|
}
|
|
} |