Fix broken XML generated during "Extract string"
BUG: 2066455
This commit is contained in:
@@ -866,7 +866,7 @@ public class ExtractStringRefactoring extends Refactoring {
|
|||||||
append("\">"). //$NON-NLS-1$
|
append("\">"). //$NON-NLS-1$
|
||||||
append(tokenString).
|
append(tokenString).
|
||||||
append("</string>\n"); //$NON-NLS-1$
|
append("</string>\n"); //$NON-NLS-1$
|
||||||
content.append("<resources>\n"); //$NON-NLS-1$
|
content.append("</resources>\n"); //$NON-NLS-1$
|
||||||
|
|
||||||
edit = new InsertEdit(0, content.toString());
|
edit = new InsertEdit(0, content.toString());
|
||||||
editGroup = new TextEditGroup("Create <string> in new XML file", edit);
|
editGroup = new TextEditGroup("Create <string> in new XML file", edit);
|
||||||
|
|||||||
Reference in New Issue
Block a user