James Moger
2015-06-15 c0c5b206bb8d61fb82f09511f8b0214b64f726f4
src/main/java/com/gitblit/utils/CompressionUtils.java
@@ -15,6 +15,7 @@
 */
package com.gitblit.utils;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.text.MessageFormat;
@@ -27,7 +28,6 @@
import org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream;
import org.apache.commons.compress.compressors.CompressorException;
import org.apache.commons.compress.compressors.CompressorStreamFactory;
import org.apache.wicket.util.io.ByteArrayOutputStream;
import org.eclipse.jgit.lib.Constants;
import org.eclipse.jgit.lib.FileMode;
import org.eclipse.jgit.lib.MutableObjectId;
@@ -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;