mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-25 02:21:17 +07:00
18 lines
272 B
Java
18 lines
272 B
Java
// "Move initializer to constructor" "true-preview"
|
|
public class X {
|
|
final int s=0;
|
|
<caret>final int i;
|
|
|
|
public X(String s) {
|
|
super();
|
|
i = this.s;
|
|
}
|
|
public X() {
|
|
this(0);
|
|
}
|
|
public X(int i) {
|
|
this.i = s;
|
|
}
|
|
|
|
}
|