Skip to content

Commit

Permalink
[fix/MNT-24209] Adding loggers in ACS download restApi
Browse files Browse the repository at this point in the history
  • Loading branch information
mohit-singh4 committed Nov 28, 2024
1 parent a658cba commit 37e7278
Showing 1 changed file with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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());
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 37e7278

Please sign in to comment.