summaryrefslogtreecommitdiffstats
path: root/poi-scratchpad
diff options
context:
space:
mode:
authorDominik Stadler <centic@apache.org>2021-11-07 15:00:03 +0000
committerDominik Stadler <centic@apache.org>2021-11-07 15:00:03 +0000
commit761a78b49f37b9bc4d75468bf3d07e25d4800023 (patch)
treefea56b3dd912b57c52941f58c1e01322f2581634 /poi-scratchpad
parent92de062c21b7953c9381870e6b3b2074320ad5d3 (diff)
downloadpoi-761a78b49f37b9bc4d75468bf3d07e25d4800023.tar.gz
poi-761a78b49f37b9bc4d75468bf3d07e25d4800023.zip
Use append(char) instead of string where possible
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894814 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi-scratchpad')
-rw-r--r--poi-scratchpad/src/test/java/org/apache/poi/hemf/usermodel/TestHemfPicture.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/poi-scratchpad/src/test/java/org/apache/poi/hemf/usermodel/TestHemfPicture.java b/poi-scratchpad/src/test/java/org/apache/poi/hemf/usermodel/TestHemfPicture.java
index 7527ec2154..1fbc303d78 100644
--- a/poi-scratchpad/src/test/java/org/apache/poi/hemf/usermodel/TestHemfPicture.java
+++ b/poi-scratchpad/src/test/java/org/apache/poi/hemf/usermodel/TestHemfPicture.java
@@ -129,7 +129,7 @@ public class TestHemfPicture {
lastX = -1;
}
if (lastX > -1 && reference.getX() - lastX > fudgeFactorX) {
- sb.append(" ");
+ sb.append(' ');
}
sb.append(extTextOutW.getText());
lastY = reference.getY();
@@ -192,7 +192,7 @@ public class TestHemfPicture {
lastX = -1;
}
if (lastX > -1 && reference.getX() - lastX > fudgeFactorX) {
- sb.append(" ");
+ sb.append(' ');
}
String txt = extTextOutW.getText();
if (expectedParts.contains(txt)) {