Replace instances of StringBuffer with StringBuilder

This commit is contained in:
Federico Bond
2014-08-25 00:06:32 -03:00
parent f6611eddf1
commit 768c72e4e8
26 changed files with 129 additions and 147 deletions

View File

@@ -711,7 +711,7 @@ public class Table {
cellData = textpContent; // nothing fancy, the text is in the text:p element
} else {
XML[] textpKids = textp.getChildren();
StringBuffer cellBuffer = new StringBuffer();
StringBuilder cellBuffer = new StringBuilder();
for (XML kid : textpKids) {
String kidName = kid.getName();
if (kidName == null) {
@@ -770,7 +770,7 @@ public class Table {
}
private void odsAppendNotNull(XML kid, StringBuffer buffer) {
private void odsAppendNotNull(XML kid, StringBuilder buffer) {
String content = kid.getContent();
if (content != null) {
buffer.append(content);