cache: don't return archive data in saveContents, its already compressed and encrypted which is confusing/everywhere already checks first

This commit is contained in:
Adam
2017-03-25 22:31:44 -04:00
parent 220175b80b
commit 609b0f1514

View File

@@ -235,12 +235,6 @@ public class Archive
public byte[] saveContents()
{
if (data != null)
{
logger.trace("Saving contents of archive {}/{} using cached data", index.getId(), archiveId);
return data;
}
OutputStream stream = new OutputStream();
int filesCount = this.getFiles().size();