From b752950ab6fa8f8e2f2294c60e3fc2b09b70454a Mon Sep 17 00:00:00 2001 From: Tobias Kellner Date: Sat, 15 Mar 2014 00:26:04 +0100 Subject: Close streams where possible --- .../src/main/java/at/gv/egiz/pdfas/common/utils/StringUtils.java | 1 + 1 file changed, 1 insertion(+) (limited to 'pdf-as-common/src/main/java/at') 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(); } -- cgit v1.2.3