sort out field initializers

This commit is contained in:
anna
2009-10-12 10:47:41 +04:00
parent dbe03f382a
commit 55b6139dff
2 changed files with 3 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
public class A {
final String f;
public A(String foo, String fi) {
public A(String fi, String foo) {
if (fi == foo) {
f = foo;
} else {
@@ -14,7 +14,7 @@ class B extends A {
final String foo;
B(String fi, String foo) {
super(foo, fi);
super(fi, foo);
this.foo = foo;
}