diff options
author | tkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2012-10-03 19:50:49 +0000 |
---|---|---|
committer | tkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2012-10-03 19:50:49 +0000 |
commit | 7a6eabd80d2c57cb8018eb4eb98fb46b765ec189 (patch) | |
tree | 8c59da2bcdfc542fce56692d9772eb0d7e4f4e8c /BKUCommonGUI/src/test | |
parent | 48aa94dcefe6f94628b548b631ac602dcfceb169 (diff) | |
download | mocca-7a6eabd80d2c57cb8018eb4eb98fb46b765ec189.tar.gz mocca-7a6eabd80d2c57cb8018eb4eb98fb46b765ec189.tar.bz2 mocca-7a6eabd80d2c57cb8018eb4eb98fb46b765ec189.zip |
close streams
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@1146 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'BKUCommonGUI/src/test')
-rw-r--r-- | BKUCommonGUI/src/test/java/at/gv/egiz/bku/gui/SecureViewerDialogTest.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/BKUCommonGUI/src/test/java/at/gv/egiz/bku/gui/SecureViewerDialogTest.java b/BKUCommonGUI/src/test/java/at/gv/egiz/bku/gui/SecureViewerDialogTest.java index 82b5eb01..b40f3165 100644 --- a/BKUCommonGUI/src/test/java/at/gv/egiz/bku/gui/SecureViewerDialogTest.java +++ b/BKUCommonGUI/src/test/java/at/gv/egiz/bku/gui/SecureViewerDialogTest.java @@ -83,6 +83,7 @@ public class SecureViewerDialogTest { BufferedInputStream bis = new BufferedInputStream(new FileInputStream("/home/clemens/IAIK/MOCCA/encoding/test_iso-8859-1.txt")); byte[] bytes = new byte[bis.available()]; bis.read(bytes); + bis.close(); String s = new String(bytes, "iso-8859-1"); System.out.println("read iso-8859-1 bytes " + s); |