aboutsummaryrefslogtreecommitdiffstats
path: root/src/testcases/org/apache/poi/poifs
diff options
context:
space:
mode:
Diffstat (limited to 'src/testcases/org/apache/poi/poifs')
-rw-r--r--src/testcases/org/apache/poi/poifs/storage/RawDataUtil.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/testcases/org/apache/poi/poifs/storage/RawDataUtil.java b/src/testcases/org/apache/poi/poifs/storage/RawDataUtil.java
index d69fd681cf..dca549c888 100644
--- a/src/testcases/org/apache/poi/poifs/storage/RawDataUtil.java
+++ b/src/testcases/org/apache/poi/poifs/storage/RawDataUtil.java
@@ -50,9 +50,7 @@ public final class RawDataUtil {
System.out.println("String[] hexDataLines = {");
System.out.print("\t\"");
while(true) {
- char[] cc = HexDump.byteToHex(data[i]);
- System.out.print(cc[2]);
- System.out.print(cc[3]);
+ System.out.print(HexDump.byteToHex(data[i]).substring(2));
i++;
if (i>=data.length) {
break;