mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 00:20:54 +07:00
17 lines
302 B
Java
17 lines
302 B
Java
// "Defer assignment to 'n' using temp variable" "true-preview"
|
|
import java.io.*;
|
|
|
|
class a {
|
|
void f(InputStream in) {
|
|
final int n;
|
|
try {
|
|
n = in.read();
|
|
} catch (IOException e) {
|
|
<caret>n = -1;
|
|
f(in);
|
|
}
|
|
|
|
int y = n;
|
|
}
|
|
}
|