Improve quickfix to replace += operator with StringBuilder on left hand side with append() call

now works on java.lang.Appendable and splits concatenated strings into separate append calls
This commit is contained in:
Bas Leijdekkers
2012-02-22 16:57:49 +01:00
parent 5420c19cc9
commit 0a71148672
8 changed files with 120 additions and 16 deletions
@@ -0,0 +1,7 @@
// "Change to 'builder.append(1+1).append(s).append(" ")'" "true"
class Test {
String s;
void bar(StringBuilder builder) {
buil<caret>der += 1 + 1 + s + " ";
}
}