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