From 979c75ae88f2a1da3c7bc70d58aff38e9028f0c3 Mon Sep 17 00:00:00 2001
From: RainerW <github@inforw.de>
Date: Thu, 08 Oct 2015 06:32:35 -0400
Subject: [PATCH] #932 do not trim passwords anywhere in the ui
---
src/main/java/com/gitblit/utils/CompressionUtils.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/java/com/gitblit/utils/CompressionUtils.java b/src/main/java/com/gitblit/utils/CompressionUtils.java
index d4bfbb3..b06edd2 100644
--- a/src/main/java/com/gitblit/utils/CompressionUtils.java
+++ b/src/main/java/com/gitblit/utils/CompressionUtils.java
@@ -132,7 +132,7 @@
} catch (IOException e) {
error(e, repository, "{0} failed to zip files from commit {1}", commit.getName());
} finally {
- tw.release();
+ tw.close();
rw.dispose();
}
return success;
@@ -291,7 +291,7 @@
} catch (IOException e) {
error(e, repository, "{0} failed to {1} stream files from commit {2}", algorithm, commit.getName());
} finally {
- tw.release();
+ tw.close();
rw.dispose();
}
return success;
--
Gitblit v1.9.1