introduce variable: insert var declaration after assignment to final variable

This commit is contained in:
anna
2011-09-15 11:05:15 +02:00
parent dea564504e
commit 48643622e8
4 changed files with 37 additions and 1 deletions

View File

@@ -0,0 +1,8 @@
public class C {
private final String myStr;
public C() {
myStr = "";
String strs = myStr;
}
}

View File

@@ -0,0 +1,7 @@
public class C {
private final String myStr;
public C() {
<selection>myStr</selection> = "";
}
}