mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
11 lines
205 B
Java
11 lines
205 B
Java
// nullable variable with flow statement
|
|
class K {
|
|
int f(Object o) {
|
|
<selection>if (o == null) return 0;
|
|
o = new Object();</selection>
|
|
Object oo = o;
|
|
|
|
return 1;
|
|
}
|
|
}
|