mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-22 14:50:53 +07:00
As this is intention-like part of inspection (no warning), we can allow it even if we are not sure that semantics will be preserved. See comments in IDEA-177602
13 lines
209 B
Java
13 lines
209 B
Java
// "Move assignment to field declaration" "INFORMATION"
|
|
public class Test {
|
|
String myField = getValue();
|
|
private String value;
|
|
|
|
void f() {
|
|
}
|
|
|
|
public String getValue() {
|
|
return value+value;
|
|
}
|
|
}
|