mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-11 02:39:37 +07:00
17 lines
213 B
Java
17 lines
213 B
Java
// "Move assignment to field declaration" "GENERIC_ERROR_OR_WARNING"
|
|
|
|
class X {
|
|
/*
|
|
Set to zero
|
|
*/
|
|
static int f = 0;
|
|
|
|
X(int i) {
|
|
}
|
|
void x() {
|
|
int i = f;
|
|
}
|
|
void x2() {
|
|
f = 9;
|
|
}
|
|
} |