mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-02 03:07:47 +07:00
more java tests moved to community
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
// "Defer assignment to 'n' using temp variable" "true"
|
||||
import java.io.*;
|
||||
|
||||
class a {
|
||||
final int n;
|
||||
a(InputStream in) {
|
||||
int n1;
|
||||
if (in==null) {
|
||||
n1 = 2;
|
||||
<caret>n1 = 2;
|
||||
int h = n1;
|
||||
}
|
||||
else {
|
||||
n1 =4;
|
||||
}
|
||||
n = n1;
|
||||
f(n);
|
||||
int p = n;
|
||||
}
|
||||
void f(int i) {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user