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,11 @@
package com.intellij.codeInsight.daemon.quickFix;
public class ChangeToAppendTest extends LightQuickFixTestCase {
public void test() throws Exception { doAllTests(); }
@Override
protected String getBasePath() {
return "/codeInsight/daemonCodeAnalyzer/quickFix/changeToAppend";
}
}