Author: toad
Date: 2007-02-20 19:43:12 +0000 (Tue, 20 Feb 2007)
New Revision: 11860
Modified:
trunk/freenet/src/freenet/client/FetchContext.java
Log:
Remove USE_LENGTHS_MASK
Modified: trunk/freenet/src/freenet/client/FetchContext.java
===================================================================
--- trunk/freenet/src/freenet/client/FetchContext.java 2007-02-20 19:40:58 UTC
(rev 11859)
+++ trunk/freenet/src/freenet/client/FetchContext.java 2007-02-20 19:43:12 UTC
(rev 11860)
@@ -16,7 +16,6 @@
public static final int IDENTICAL_MASK = 0;
public static final int SPLITFILE_DEFAULT_BLOCK_MASK = 1;
public static final int SPLITFILE_DEFAULT_MASK = 2;
- public static final int SPLITFILE_USE_LENGTHS_MASK = 3;
public static final int SET_RETURN_ARCHIVES = 4;
/** Low-level client to send low-level requests to. */
public long maxOutputLength;
@@ -158,28 +157,6 @@
this.maxCheckBlocksPerSegment =
ctx.maxCheckBlocksPerSegment;
this.cacheLocalRequests = ctx.cacheLocalRequests;
this.returnZIPManifests = ctx.returnZIPManifests;
- } else if(maskID == SPLITFILE_USE_LENGTHS_MASK) {
- this.maxOutputLength = ctx.maxOutputLength;
- this.maxTempLength = ctx.maxTempLength;
- this.maxMetadataSize = ctx.maxMetadataSize;
- this.archiveManager = ctx.archiveManager;
- this.bucketFactory = ctx.bucketFactory;
- this.maxRecursionLevel = ctx.maxRecursionLevel;
- this.maxArchiveRestarts = ctx.maxArchiveRestarts;
- this.maxArchiveLevels = ctx.maxArchiveLevels;
- this.dontEnterImplicitArchives =
ctx.dontEnterImplicitArchives;
- this.random = ctx.random;
- this.maxSplitfileThreads = ctx.maxSplitfileThreads;
- this.maxSplitfileBlockRetries =
ctx.maxSplitfileBlockRetries;
- this.maxNonSplitfileRetries =
ctx.maxNonSplitfileRetries;
- this.allowSplitfiles = ctx.allowSplitfiles;
- this.followRedirects = ctx.followRedirects;
- this.localRequestOnly = ctx.localRequestOnly;
- this.splitfileUseLengths = true;
- this.maxDataBlocksPerSegment =
ctx.maxDataBlocksPerSegment;
- this.maxCheckBlocksPerSegment =
ctx.maxCheckBlocksPerSegment;
- this.cacheLocalRequests = ctx.cacheLocalRequests;
- this.returnZIPManifests = ctx.returnZIPManifests;
} else if (maskID == SET_RETURN_ARCHIVES) {
this.maxOutputLength = ctx.maxOutputLength;
this.maxMetadataSize = ctx.maxMetadataSize;