diff --git a/repository/src/main/java/org/alfresco/repo/download/ZipDownloadExporter.java b/repository/src/main/java/org/alfresco/repo/download/ZipDownloadExporter.java index 7d423f43c9f..8bab018fbd8 100644 --- a/repository/src/main/java/org/alfresco/repo/download/ZipDownloadExporter.java +++ b/repository/src/main/java/org/alfresco/repo/download/ZipDownloadExporter.java @@ -114,10 +114,7 @@ public class ZipDownloadExporter extends BaseExporter * @param totalFileCount * long */ - public ZipDownloadExporter(File zipFile, CheckOutCheckInService checkOutCheckInService, NodeService nodeService, - RetryingTransactionHelper transactionHelper, DownloadStatusUpdateService updateService, - DownloadStorage downloadStorage, DictionaryService dictionaryService, - NodeRef downloadNodeRef, long total, long totalFileCount) + public ZipDownloadExporter(File zipFile, CheckOutCheckInService checkOutCheckInService, NodeService nodeService, RetryingTransactionHelper transactionHelper, DownloadStatusUpdateService updateService, DownloadStorage downloadStorage, DictionaryService dictionaryService, NodeRef downloadNodeRef, long total, long totalFileCount) { super(checkOutCheckInService, nodeService); try @@ -191,8 +188,7 @@ public void contentImpl(NodeRef nodeRef, QName property, InputStream content, Co { if (log.isDebugEnabled()) { - log.debug("Archiving content for nodeRef: " + nodeRef + " with contentURL: " - + contentData.getContentUrl()); + log.debug("Archiving content for nodeRef: " + nodeRef + " with contentURL: " + contentData.getContentUrl()); } // ALF-2016 ZipArchiveEntry zipEntry = new ZipArchiveEntry(getPath()); @@ -265,7 +261,8 @@ private String getPath() * input stream * @throws IOException */ - private void copyStream(OutputStream output, InputStream in) throws IOException + private void copyStream(OutputStream output, InputStream in) + throws IOException { byte[] buffer = new byte[2048 * 10]; int read = in.read(buffer, 0, 2048 * 10);