From faf53dcdb4e64b9b59e51eef5f399eb4ed3c8dd9 Mon Sep 17 00:00:00 2001 From: Dominik Stadler Date: Sun, 30 Dec 2018 22:44:29 +0000 Subject: [PATCH] IDE and JavaDoc fixes git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1850007 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/poi/hssf/record/SupBookRecord.java | 10 +++++----- .../compliance/TestOPCCompliancePartName.java | 16 +++++++++------- .../poi/xssf/usermodel/TestXSSFBugs.java | 4 ++-- .../apache/poi/hssf/record/TestNameRecord.java | 4 ++-- .../poi/hssf/usermodel/TestHSSFName.java | 4 +--- .../TestNonStandardWorkbookStreamNames.java | 3 --- .../poi/ss/usermodel/BaseTestNamedRange.java | 18 +++++++++--------- 7 files changed, 28 insertions(+), 31 deletions(-) diff --git a/src/java/org/apache/poi/hssf/record/SupBookRecord.java b/src/java/org/apache/poi/hssf/record/SupBookRecord.java index 9067c24cc7..bda7cca026 100644 --- a/src/java/org/apache/poi/hssf/record/SupBookRecord.java +++ b/src/java/org/apache/poi/hssf/record/SupBookRecord.java @@ -130,7 +130,7 @@ public final class SupBookRecord extends StandardRecord { } public String toString() { - StringBuffer sb = new StringBuffer(); + StringBuilder sb = new StringBuilder(); sb.append("[SUPBOOK "); if(isExternalReferences()) { @@ -158,8 +158,8 @@ public final class SupBookRecord extends StandardRecord { sum += StringUtil.getEncodedSize(field_2_encoded_url); - for(int i=0; i