introduce field: selected type should be used instead of local variable type

This commit is contained in:
anna
2010-05-21 11:40:03 +04:00
parent 55590c7a3c
commit b594f2d5a7
7 changed files with 57 additions and 8 deletions

View File

@@ -0,0 +1,7 @@
public class FieldTest {
public final int integer;
void foo() {
integer = new Integer(0);
}
}

View File

@@ -0,0 +1,5 @@
public class FieldTest {
void foo() {
Integer <selection>ii</selection> = new Integer(0);
}
}