summaryrefslogtreecommitdiff
path: root/BKUCommonGUI/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'BKUCommonGUI/src/test')
-rw-r--r--BKUCommonGUI/src/test/java/at/gv/egiz/bku/gui/SecureViewerDialogTest.java1
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);