aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-common/src
diff options
context:
space:
mode:
authorTobias Kellner <tobias.kellner@iaik.tugraz.at>2014-03-15 00:26:04 +0100
committerTobias Kellner <tobias.kellner@iaik.tugraz.at>2014-04-03 15:38:37 +0200
commitb752950ab6fa8f8e2f2294c60e3fc2b09b70454a (patch)
tree17e6f61dcfde552f0d5eadda0860cbf969cda8e8 /pdf-as-common/src
parent82f28cc18b9371c81f3e6fa147080371a00443f5 (diff)
downloadpdf-as-4-b752950ab6fa8f8e2f2294c60e3fc2b09b70454a.tar.gz
pdf-as-4-b752950ab6fa8f8e2f2294c60e3fc2b09b70454a.tar.bz2
pdf-as-4-b752950ab6fa8f8e2f2294c60e3fc2b09b70454a.zip
Close streams where possible
Diffstat (limited to 'pdf-as-common/src')
-rw-r--r--pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/utils/StringUtils.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/utils/StringUtils.java b/pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/utils/StringUtils.java
index a29f5db3..35cdf904 100644
--- a/pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/utils/StringUtils.java
+++ b/pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/utils/StringUtils.java
@@ -41,6 +41,7 @@ public class StringUtils {
for (byte b : bytes) {
formatter.format("%02x", b);
}
+ formatter.close();
return sb.toString();
}