mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 15:09:39 +07:00
19 lines
239 B
Java
19 lines
239 B
Java
// "Move assignment to field declaration" "GENERIC_ERROR_OR_WARNING"
|
|
|
|
class X {
|
|
static int f;
|
|
static {
|
|
/*
|
|
Set to zero
|
|
*/
|
|
<caret>f = 0;
|
|
}
|
|
X(int i) {
|
|
}
|
|
void x() {
|
|
int i = f;
|
|
}
|
|
void x2() {
|
|
f = 9;
|
|
}
|
|
} |