Project: JDT
Bug 154199 [quick assist] convert to StringBuilder
Reported: 2006-08-17 07:09:33 | Status: verified fixed

NEW refactoring "Convert to StringBuffer/StringBuilder..." String a = "aaa " + bbb + " ccc " + ddd + ...; method( a, ... ) ===> StringBuilder a = new StringBuilder( <guess initial size by SUM(length(fixed strings))> ); a.append( "aaa " ); a.append( bbb ); ... method( a.toString() );

Files changed in fix:
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/AssistQuickFixTest.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickAssistProcessor.java