mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-01 09:04:15 +07:00
GitOrigin-RevId: 4d64e2fced6e7b3c87b1361de36909fec8d7db0a
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;
|
|
}
|
|
}
|