mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-20 11:36:16 +07:00
13 lines
308 B
Java
13 lines
308 B
Java
class C {
|
|
int f(boolean b) {
|
|
int i = <warning descr="Variable 'i' initializer '0' is redundant">0</warning>;
|
|
try {
|
|
<warning descr="The value 1 assigned to 'i' is never used">i</warning> = 1;
|
|
if (b) throw new RuntimeException();
|
|
}
|
|
finally {
|
|
i = 2;
|
|
}
|
|
return i;
|
|
}
|
|
} |