summaryrefslogtreecommitdiff
path: root/BKUOnline/src/main
diff options
context:
space:
mode:
authortkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2012-10-03 19:50:49 +0000
committertkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2012-10-03 19:50:49 +0000
commit7a6eabd80d2c57cb8018eb4eb98fb46b765ec189 (patch)
tree8c59da2bcdfc542fce56692d9772eb0d7e4f4e8c /BKUOnline/src/main
parent48aa94dcefe6f94628b548b631ac602dcfceb169 (diff)
downloadmocca-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 'BKUOnline/src/main')
-rw-r--r--BKUOnline/src/main/java/at/gv/egiz/mocca/id/PersonalIdentifier.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/BKUOnline/src/main/java/at/gv/egiz/mocca/id/PersonalIdentifier.java b/BKUOnline/src/main/java/at/gv/egiz/mocca/id/PersonalIdentifier.java
index 15f3084d..578d72ef 100644
--- a/BKUOnline/src/main/java/at/gv/egiz/mocca/id/PersonalIdentifier.java
+++ b/BKUOnline/src/main/java/at/gv/egiz/mocca/id/PersonalIdentifier.java
@@ -71,7 +71,7 @@ public class PersonalIdentifier {
ByteArrayOutputStream os = new ByteArrayOutputStream();
Base64OutputStream bos = new Base64OutputStream(os);
bos.write(md.digest((value + '+' + domainId).getBytes("ISO-8859-1")));
- bos.flush();
+ bos.close();
return new PersonalIdentifier(domainId, os.toString("ASCII"));
} catch (NoSuchAlgorithmException e) {
throw new RuntimeException(e);