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:
@@ -235,12 +235,6 @@ public class Archive
|
|||||||
|
|
||||||
public byte[] saveContents()
|
public byte[] saveContents()
|
||||||
{
|
{
|
||||||
if (data != null)
|
|
||||||
{
|
|
||||||
logger.trace("Saving contents of archive {}/{} using cached data", index.getId(), archiveId);
|
|
||||||
return data;
|
|
||||||
}
|
|
||||||
|
|
||||||
OutputStream stream = new OutputStream();
|
OutputStream stream = new OutputStream();
|
||||||
|
|
||||||
int filesCount = this.getFiles().size();
|
int filesCount = this.getFiles().size();
|
||||||
|
|||||||
Reference in New Issue
Block a user