Author: toad
Date: 2008-08-29 23:03:21 +0000 (Fri, 29 Aug 2008)
New Revision: 22233
Modified:
branches/db4o/freenet/src/freenet/client/async/SingleFileFetcher.java
Log:
Copy the decompressors list, don't keep it equal.
Modified: branches/db4o/freenet/src/freenet/client/async/SingleFileFetcher.java
===================================================================
--- branches/db4o/freenet/src/freenet/client/async/SingleFileFetcher.java
2008-08-29 22:59:57 UTC (rev 22232)
+++ branches/db4o/freenet/src/freenet/client/async/SingleFileFetcher.java
2008-08-29 23:03:21 UTC (rev 22233)
@@ -119,7 +119,10 @@
if(recursionLevel > ctx.maxRecursionLevel)
throw new
FetchException(FetchException.TOO_MUCH_RECURSION);
this.thisKey = fetcher.thisKey;
- this.decompressors = fetcher.decompressors;
+ // Copy the decompressors. Just because a multi-level metadata
splitfile
+ // is compressed, that **doesn't** mean that the data we are
eventually
+ // going to fetch is!
+ this.decompressors = new ArrayList(fetcher.decompressors);
this.uri = fetcher.uri;
}