mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-30 02:09:59 +07:00
more java tests moved to community
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
// "Defer assignment to 'n' using temp variable" "true"
|
||||
import java.io.*;
|
||||
|
||||
class a {
|
||||
void f(InputStream in) {
|
||||
final int n;
|
||||
int n1;
|
||||
try {
|
||||
n1 = in.read();
|
||||
} catch (IOException e) {
|
||||
<caret>n1 = -1;
|
||||
f(in);
|
||||
}
|
||||
|
||||
n = n1;
|
||||
int y = n;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user