Skip to content

Commit 518430a

Browse files
committed
StringBuilder
1 parent 7a5a21b commit 518430a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/org/apache/maven/shared/utils/xml/XmlWriterUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ public static void writeComment(XMLWriter writer, String comment, int indent, in
221221
line.append("-->").append(CRLF);
222222
writer.writeMarkup(line.toString());
223223
}
224-
line = new StringBuffer(indentation + "<!-- ");
224+
line = new StringBuilder(indentation + "<!-- ");
225225
line.append(word).append(' ');
226226
} else {
227227
line.append(word).append(' ');

0 commit comments

Comments
 (0)