Author: nextgens
Date: 2006-07-09 16:25:51 +0000 (Sun, 09 Jul 2006)
New Revision: 9523
Modified:
trunk/freenet/src/freenet/client/ArchiveManager.java
trunk/freenet/src/freenet/client/async/USKFetcherWrapper.java
trunk/freenet/src/freenet/clients/http/filter/GenericReadFilterCallback.java
trunk/freenet/src/freenet/clients/http/filter/KnownUnsafeContentTypeException.java
trunk/freenet/src/freenet/clients/http/filter/UnknownContentTypeException.java
trunk/freenet/src/freenet/config/InvalidConfigValueException.java
trunk/freenet/src/freenet/config/OptionFormatException.java
trunk/freenet/src/freenet/crypt/DHGroup.java
trunk/freenet/src/freenet/crypt/DSAGroup.java
trunk/freenet/src/freenet/crypt/Yarrow.java
trunk/freenet/src/freenet/crypt/ciphers/Twofish_Algorithm.java
trunk/freenet/src/freenet/io/comm/LowLevelFilter.java
trunk/freenet/src/freenet/io/comm/Peer.java
trunk/freenet/src/freenet/io/xfer/PacketThrottle.java
trunk/freenet/src/freenet/keys/SSKBlock.java
trunk/freenet/src/freenet/node/CHKInsertSender.java
trunk/freenet/src/freenet/node/Node.java
trunk/freenet/src/freenet/node/RequestHandler.java
trunk/freenet/src/freenet/node/RequestSender.java
trunk/freenet/src/freenet/node/SSKInsertSender.java
trunk/freenet/src/freenet/node/TextModeClientInterface.java
trunk/freenet/src/freenet/node/fcp/AddPeer.java
trunk/freenet/src/freenet/node/fcp/ModifyPeer.java
trunk/freenet/src/freenet/node/fcp/Peer.java
trunk/freenet/src/freenet/node/fcp/RemovePeer.java
trunk/freenet/src/freenet/pluginmanager/PluginHandler.java
trunk/freenet/src/freenet/pluginmanager/PluginManager.java
trunk/freenet/src/freenet/pluginmanager/PluginRespirator.java
trunk/freenet/src/freenet/store/KeyCollisionException.java
trunk/freenet/src/freenet/support/DoublyLinkedListImpl.java
trunk/freenet/src/freenet/support/io/TempBucketFactory.java
Log:
Trying to reduce the number of warnings in eclipse: removing dead code.
That's the first part: it shouldn't be controversial ... the second might ^-^
Modified: trunk/freenet/src/freenet/client/ArchiveManager.java
===================================================================
--- trunk/freenet/src/freenet/client/ArchiveManager.java 2006-07-09
16:09:06 UTC (rev 9522)
+++ trunk/freenet/src/freenet/client/ArchiveManager.java 2006-07-09
16:25:51 UTC (rev 9523)
@@ -220,7 +220,7 @@
OutputStream out =
output.getOutputStream();
int readBytes;
-inner: while((readBytes = zis.read(buf)) > 0) {
+ while((readBytes = zis.read(buf)) > 0) {
out.write(buf, 0, readBytes);
readBytes += realLen;
if(readBytes >
maxArchivedFileSize) {
Modified: trunk/freenet/src/freenet/client/async/USKFetcherWrapper.java
===================================================================
--- trunk/freenet/src/freenet/client/async/USKFetcherWrapper.java
2006-07-09 16:09:06 UTC (rev 9522)
+++ trunk/freenet/src/freenet/client/async/USKFetcherWrapper.java
2006-07-09 16:25:51 UTC (rev 9523)
@@ -2,7 +2,6 @@
import freenet.keys.FreenetURI;
import freenet.keys.USK;
-import freenet.node.RequestStarter;
/**
* Wrapper for a backgrounded USKFetcher.
Modified:
trunk/freenet/src/freenet/clients/http/filter/GenericReadFilterCallback.java
===================================================================
---
trunk/freenet/src/freenet/clients/http/filter/GenericReadFilterCallback.java
2006-07-09 16:09:06 UTC (rev 9522)
+++
trunk/freenet/src/freenet/clients/http/filter/GenericReadFilterCallback.java
2006-07-09 16:25:51 UTC (rev 9523)
@@ -121,7 +121,6 @@
// REDFLAG any other options we should support?
// Obviously we don't want to support ?force= !!
// At the moment, ?type= and ?force= are the only options
supported by FProxy anyway.
- String ret = path;
try {
URI uri = new URI(null, null, path, typeOverride ==
null ? null : "type="+typeOverride,
Modified:
trunk/freenet/src/freenet/clients/http/filter/KnownUnsafeContentTypeException.java
===================================================================
---
trunk/freenet/src/freenet/clients/http/filter/KnownUnsafeContentTypeException.java
2006-07-09 16:09:06 UTC (rev 9522)
+++
trunk/freenet/src/freenet/clients/http/filter/KnownUnsafeContentTypeException.java
2006-07-09 16:25:51 UTC (rev 9523)
@@ -1,7 +1,7 @@
package freenet.clients.http.filter;
public class KnownUnsafeContentTypeException extends
UnsafeContentTypeException {
-
+ private static final long serialVersionUID = -1;
MIMEType type;
public KnownUnsafeContentTypeException(MIMEType type) {
Modified:
trunk/freenet/src/freenet/clients/http/filter/UnknownContentTypeException.java
===================================================================
---
trunk/freenet/src/freenet/clients/http/filter/UnknownContentTypeException.java
2006-07-09 16:09:06 UTC (rev 9522)
+++
trunk/freenet/src/freenet/clients/http/filter/UnknownContentTypeException.java
2006-07-09 16:25:51 UTC (rev 9523)
@@ -3,7 +3,7 @@
import freenet.support.HTMLEncoder;
public class UnknownContentTypeException extends UnsafeContentTypeException {
-
+ private static final long serialVersionUID = -1;
final String type;
final String encodedType;
Modified: trunk/freenet/src/freenet/config/InvalidConfigValueException.java
===================================================================
--- trunk/freenet/src/freenet/config/InvalidConfigValueException.java
2006-07-09 16:09:06 UTC (rev 9522)
+++ trunk/freenet/src/freenet/config/InvalidConfigValueException.java
2006-07-09 16:25:51 UTC (rev 9523)
@@ -8,6 +8,7 @@
* it.
*/
public class InvalidConfigValueException extends Exception {
+ private static final long serialVersionUID = -1;
public InvalidConfigValueException(String msg) {
super(msg);
Modified: trunk/freenet/src/freenet/config/OptionFormatException.java
===================================================================
--- trunk/freenet/src/freenet/config/OptionFormatException.java 2006-07-09
16:09:06 UTC (rev 9522)
+++ trunk/freenet/src/freenet/config/OptionFormatException.java 2006-07-09
16:25:51 UTC (rev 9523)
@@ -5,7 +5,7 @@
* type.
*/
public class OptionFormatException extends InvalidConfigValueException {
-
+ private static final long serialVersionUID = -1;
public OptionFormatException(String msg) {
super(msg);
}
Modified: trunk/freenet/src/freenet/crypt/DHGroup.java
===================================================================
--- trunk/freenet/src/freenet/crypt/DHGroup.java 2006-07-09 16:09:06 UTC
(rev 9522)
+++ trunk/freenet/src/freenet/crypt/DHGroup.java 2006-07-09 16:25:51 UTC
(rev 9523)
@@ -33,7 +33,7 @@
}
public static CryptoKey readFromField(String field) {
- BigInteger p, q, g;
+ BigInteger p, g;
StringTokenizer str = new StringTokenizer(field, ",");
p = new NativeBigInteger(1,
HexUtil.hexToBytes(str.nextToken()));
g = new NativeBigInteger(1,
HexUtil.hexToBytes(str.nextToken()));
Modified: trunk/freenet/src/freenet/crypt/DSAGroup.java
===================================================================
--- trunk/freenet/src/freenet/crypt/DSAGroup.java 2006-07-09 16:09:06 UTC
(rev 9522)
+++ trunk/freenet/src/freenet/crypt/DSAGroup.java 2006-07-09 16:25:51 UTC
(rev 9523)
@@ -21,7 +21,6 @@
*/
public class DSAGroup extends CryptoKey {
private static final long serialVersionUID = -1;
- private static final boolean DEBUG = false;
private BigInteger p, q, g;
@@ -222,7 +221,7 @@
qg.start();
}
- step1: do {
+ do {
if ((cc++) % 15 == 0) System.err.print(".");
if (multithread) {
while (qg.qs.size() < 1) {
Modified: trunk/freenet/src/freenet/crypt/Yarrow.java
===================================================================
--- trunk/freenet/src/freenet/crypt/Yarrow.java 2006-07-09 16:09:06 UTC (rev
9522)
+++ trunk/freenet/src/freenet/crypt/Yarrow.java 2006-07-09 16:25:51 UTC (rev
9523)
@@ -242,7 +242,7 @@
*/
private BlockCipher cipher_ctx;
private byte[] output_buffer, counter, allZeroString, tmp;
- private int output_count, fetch_counter, block_bytes;
+ private int output_count, fetch_counter;
private void generator_init(String cipher) {
cipher_ctx = Util.getCipherByName(cipher);
@@ -360,15 +360,13 @@
* 5.2 Entropy Accumulator
*/
private MessageDigest fast_pool, slow_pool;
- private int fast_entropy, slow_entropy, digestSize;
+ private int fast_entropy, slow_entropy;
private boolean fast_select;
- private byte[] long_buffer = new byte[8];
private Hashtable entropySeen;
private void accumulator_init(String digest) throws
NoSuchAlgorithmException {
fast_pool = MessageDigest.getInstance(digest);
slow_pool = MessageDigest.getInstance(digest);
- digestSize = fast_pool.getDigestLength()<<3;
entropySeen = new Hashtable();
}
Modified: trunk/freenet/src/freenet/crypt/ciphers/Twofish_Algorithm.java
===================================================================
--- trunk/freenet/src/freenet/crypt/ciphers/Twofish_Algorithm.java
2006-07-09 16:09:06 UTC (rev 9522)
+++ trunk/freenet/src/freenet/crypt/ciphers/Twofish_Algorithm.java
2006-07-09 16:25:51 UTC (rev 9523)
@@ -59,15 +59,12 @@
static final int BLOCK_SIZE = 16; // bytes in a data-block
private static final int ROUNDS = 16;
- private static final int MAX_ROUNDS = 16; // max # rounds (for allocating
subkeys)
/* Subkey array indices */
private static final int INPUT_WHITEN = 0;
private static final int OUTPUT_WHITEN = INPUT_WHITEN + BLOCK_SIZE/4;
private static final int ROUND_SUBKEYS = OUTPUT_WHITEN + BLOCK_SIZE/4; //
2*(# rounds)
- private static final int TOTAL_SUBKEYS = ROUND_SUBKEYS + 2*MAX_ROUNDS;
-
private static final int SK_STEP = 0x02020202;
private static final int SK_BUMP = 0x01010101;
private static final int SK_ROTL = 9;
@@ -238,7 +235,6 @@
private static final int P_34 = 1;
/** Primitive polynomial for GF(256) */
- private static final int GF256_FDBK = 0x169;
private static final int GF256_FDBK_2 = 0x169 / 2;
private static final int GF256_FDBK_4 = 0x169 / 4;
@@ -331,7 +327,6 @@
((x & 0x01) != 0 ? GF256_FDBK_4 : 0);
}
- private static final int Mx_1( int x ) { return x; }
private static final int Mx_X( int x ) { return x ^ LFSR2(x); }
// 5B
private static final int Mx_Y( int x ) { return x ^ LFSR1(x) ^ LFSR2(x); }
// EF
Modified: trunk/freenet/src/freenet/io/comm/LowLevelFilter.java
===================================================================
--- trunk/freenet/src/freenet/io/comm/LowLevelFilter.java 2006-07-09
16:09:06 UTC (rev 9522)
+++ trunk/freenet/src/freenet/io/comm/LowLevelFilter.java 2006-07-09
16:25:51 UTC (rev 9523)
@@ -1,8 +1,5 @@
package freenet.io.comm;
-import freenet.node.PacketSequenceException;
-
-
/**
* Filter interface used by Freenet to decrypt incoming packets.
*/
Modified: trunk/freenet/src/freenet/io/comm/Peer.java
===================================================================
--- trunk/freenet/src/freenet/io/comm/Peer.java 2006-07-09 16:09:06 UTC (rev
9522)
+++ trunk/freenet/src/freenet/io/comm/Peer.java 2006-07-09 16:25:51 UTC (rev
9523)
@@ -34,7 +34,7 @@
public class Peer implements WritableToDataOutputStream {
public class LocalAddressException extends Exception {
-
+ private static final long serialVersionUID = -1;
}
public static final String VERSION = "$Id: Peer.java,v 1.4 2005/08/25
17:28:19 amphibian Exp $";
Modified: trunk/freenet/src/freenet/io/xfer/PacketThrottle.java
===================================================================
--- trunk/freenet/src/freenet/io/xfer/PacketThrottle.java 2006-07-09
16:09:06 UTC (rev 9522)
+++ trunk/freenet/src/freenet/io/xfer/PacketThrottle.java 2006-07-09
16:25:51 UTC (rev 9523)
@@ -33,7 +33,6 @@
public static final String VERSION = "$Id: PacketThrottle.java,v 1.3
2005/08/25 17:28:19 amphibian Exp $";
public static final long DEFAULT_DELAY = 200;
private static Map _throttles = new HashMap();
- private static Map _lastThrottleUse = new HashMap();
private final Peer _peer;
private long _roundTripTime = 500, _totalPackets = 0, _droppedPackets =
0;
private float _simulatedWindowSize = 2;
Modified: trunk/freenet/src/freenet/keys/SSKBlock.java
===================================================================
--- trunk/freenet/src/freenet/keys/SSKBlock.java 2006-07-09 16:09:06 UTC
(rev 9522)
+++ trunk/freenet/src/freenet/keys/SSKBlock.java 2006-07-09 16:25:51 UTC
(rev 9523)
@@ -8,7 +8,6 @@
import freenet.crypt.DSA;
import freenet.crypt.DSAPublicKey;
import freenet.crypt.DSASignature;
-import freenet.node.DSAPublicKeyDatabase;
import freenet.support.HexUtil;
/**
Modified: trunk/freenet/src/freenet/node/CHKInsertSender.java
===================================================================
--- trunk/freenet/src/freenet/node/CHKInsertSender.java 2006-07-09 16:09:06 UTC
(rev 9522)
+++ trunk/freenet/src/freenet/node/CHKInsertSender.java 2006-07-09 16:25:51 UTC
(rev 9523)
@@ -616,7 +616,7 @@
public void run() {
Logger.minor(this, "Starting "+this);
-outer: while(true) {
+ while(true) {
AwaitingCompletion[] waiters;
synchronized(nodesWaitingForCompletion) {
waiters = new
AwaitingCompletion[nodesWaitingForCompletion.size()];
Modified: trunk/freenet/src/freenet/node/Node.java
===================================================================
--- trunk/freenet/src/freenet/node/Node.java 2006-07-09 16:09:06 UTC (rev
9522)
+++ trunk/freenet/src/freenet/node/Node.java 2006-07-09 16:25:51 UTC (rev
9523)
@@ -498,8 +498,6 @@
private long myARKNumber;
/** FetcherContext for ARKs */
public final FetcherContext arkFetcherContext;
- /** ARK currently inserting? */
- private boolean arkCurrentlyInserting = false;
/** ARKFetcher's currently running, by identity */
private final HashMap arkFetchers;
/** Next time to log the PeerNode status summary */
@@ -3575,8 +3573,6 @@
* IP address.
*/
public void processDetectedIPs(DetectedIP[] list) {
- Vector fullAccess = new Vector();
- Vector fullCone = new Vector();
pluginDetectedIPs = list;
redetectAddress();
shouldInsertARK();
Modified: trunk/freenet/src/freenet/node/RequestHandler.java
===================================================================
--- trunk/freenet/src/freenet/node/RequestHandler.java 2006-07-09 16:09:06 UTC
(rev 9522)
+++ trunk/freenet/src/freenet/node/RequestHandler.java 2006-07-09 16:25:51 UTC
(rev 9523)
@@ -136,7 +136,6 @@
Message df = DMT.createFNPSSKDataFound(uid,
rs.getHeaders(), rs.getSSKData());
source.send(df, null);
if(needsPubKey) {
- Message pk = DMT.createFNPSSKPubKey(uid,
((NodeSSK)rs.getSSKBlock().getKey()).getPubKey().asBytes());
source.send(df, null);
}
} else if(!rs.transferStarted()) {
Modified: trunk/freenet/src/freenet/node/RequestSender.java
===================================================================
--- trunk/freenet/src/freenet/node/RequestSender.java 2006-07-09 16:09:06 UTC
(rev 9522)
+++ trunk/freenet/src/freenet/node/RequestSender.java 2006-07-09 16:25:51 UTC
(rev 9523)
@@ -53,7 +53,6 @@
private DSAPublicKey pubKey;
private byte[] headers;
private byte[] sskData;
- private boolean sentRequest;
private SSKBlock block;
// Terminal status
@@ -142,7 +141,6 @@
next.send(req, this);
- sentRequest = true;
Message msg = null;
@@ -309,7 +307,6 @@
byte[] data = br.receive();
Logger.minor(this, "Received data");
// Received data
- CHKBlock block;
try {
verifyAndCommit(data);
} catch (KeyVerifyException e1) {
Modified: trunk/freenet/src/freenet/node/SSKInsertSender.java
===================================================================
--- trunk/freenet/src/freenet/node/SSKInsertSender.java 2006-07-09 16:09:06 UTC
(rev 9522)
+++ trunk/freenet/src/freenet/node/SSKInsertSender.java 2006-07-09 16:25:51 UTC
(rev 9523)
@@ -53,9 +53,6 @@
private boolean hasRecentlyCollided;
private SSKBlock block;
- /** Time at which we set status to a value other than NOT_FINISHED */
- private long setStatusTime = -1;
-
private int status = -1;
/** Still running */
static final int NOT_FINISHED = -1;
@@ -444,8 +441,6 @@
Logger.minor(this, "Finished: "+code+" on "+this, new
Exception("debug"));
if(status != NOT_FINISHED)
throw new IllegalStateException("finish() called with "+code+"
when was already "+status);
-
- setStatusTime = System.currentTimeMillis();
if(code == ROUTE_NOT_FOUND && !sentRequest)
code = ROUTE_REALLY_NOT_FOUND;
Modified: trunk/freenet/src/freenet/node/TextModeClientInterface.java
===================================================================
--- trunk/freenet/src/freenet/node/TextModeClientInterface.java 2006-07-09
16:09:06 UTC (rev 9522)
+++ trunk/freenet/src/freenet/node/TextModeClientInterface.java 2006-07-09
16:25:51 UTC (rev 9523)
@@ -239,7 +239,7 @@
outsb.append(new String(dataBytes));
} catch (FetchException e) {
outsb.append("Error: "+e.getMessage()+"\r\n");
- if(e.getMode() == e.SPLITFILE_ERROR && e.errorCodes != null) {
+ if(e.getMode() == FetchException.SPLITFILE_ERROR &&
e.errorCodes != null) {
outsb.append(e.errorCodes.toVerboseString());
}
if(e.newURI != null)
Modified: trunk/freenet/src/freenet/node/fcp/AddPeer.java
===================================================================
--- trunk/freenet/src/freenet/node/fcp/AddPeer.java 2006-07-09 16:09:06 UTC
(rev 9522)
+++ trunk/freenet/src/freenet/node/fcp/AddPeer.java 2006-07-09 16:25:51 UTC
(rev 9523)
@@ -11,12 +11,9 @@
import java.net.URLConnection;
import freenet.io.comm.PeerParseException;
-import freenet.keys.FreenetURI;
import freenet.node.FSParseException;
import freenet.node.Node;
import freenet.node.PeerNode;
-import freenet.support.Fields;
-import freenet.support.Logger;
import freenet.support.SimpleFieldSet;
public class AddPeer extends FCPMessage {
Modified: trunk/freenet/src/freenet/node/fcp/ModifyPeer.java
===================================================================
--- trunk/freenet/src/freenet/node/fcp/ModifyPeer.java 2006-07-09 16:09:06 UTC
(rev 9522)
+++ trunk/freenet/src/freenet/node/fcp/ModifyPeer.java 2006-07-09 16:25:51 UTC
(rev 9523)
@@ -1,8 +1,5 @@
package freenet.node.fcp;
-import java.io.File;
-
-import freenet.keys.FreenetURI;
import freenet.node.Node;
import freenet.node.PeerNode;
import freenet.support.Fields;
Modified: trunk/freenet/src/freenet/node/fcp/Peer.java
===================================================================
--- trunk/freenet/src/freenet/node/fcp/Peer.java 2006-07-09 16:09:06 UTC
(rev 9522)
+++ trunk/freenet/src/freenet/node/fcp/Peer.java 2006-07-09 16:25:51 UTC
(rev 9523)
@@ -1,8 +1,5 @@
package freenet.node.fcp;
-import java.io.File;
-
-import freenet.keys.FreenetURI;
import freenet.node.Node;
import freenet.node.PeerNode;
import freenet.support.SimpleFieldSet;
Modified: trunk/freenet/src/freenet/node/fcp/RemovePeer.java
===================================================================
--- trunk/freenet/src/freenet/node/fcp/RemovePeer.java 2006-07-09 16:09:06 UTC
(rev 9522)
+++ trunk/freenet/src/freenet/node/fcp/RemovePeer.java 2006-07-09 16:25:51 UTC
(rev 9523)
@@ -1,11 +1,7 @@
package freenet.node.fcp;
-import java.io.File;
-
-import freenet.keys.FreenetURI;
import freenet.node.Node;
import freenet.node.PeerNode;
-import freenet.support.Fields;
import freenet.support.SimpleFieldSet;
public class RemovePeer extends FCPMessage {
Modified: trunk/freenet/src/freenet/pluginmanager/PluginHandler.java
===================================================================
--- trunk/freenet/src/freenet/pluginmanager/PluginHandler.java 2006-07-09
16:09:06 UTC (rev 9522)
+++ trunk/freenet/src/freenet/pluginmanager/PluginHandler.java 2006-07-09
16:25:51 UTC (rev 9523)
@@ -57,10 +57,7 @@
return;
}
- if (plugin instanceof FredPlugin) {
- FredPlugin plug = ((FredPlugin)plugin);
- //if (plug.handles(FredPlugin.handleFProxy))
-
+ if (plugin instanceof FredPlugin) {
((FredPlugin)plugin).runPlugin(pr);
}
// If not FredPlugin, then the whole thing is aborted,
Modified: trunk/freenet/src/freenet/pluginmanager/PluginManager.java
===================================================================
--- trunk/freenet/src/freenet/pluginmanager/PluginManager.java 2006-07-09
16:09:06 UTC (rev 9522)
+++ trunk/freenet/src/freenet/pluginmanager/PluginManager.java 2006-07-09
16:25:51 UTC (rev 9523)
@@ -37,7 +37,6 @@
private HashMap toadletList;
private HashMap pluginInfo;
- private PluginManager pluginManager = null;
private PluginRespirator pluginRespirator = null;
private Node node;
SubConfig pmconfig;
Modified: trunk/freenet/src/freenet/pluginmanager/PluginRespirator.java
===================================================================
--- trunk/freenet/src/freenet/pluginmanager/PluginRespirator.java
2006-07-09 16:09:06 UTC (rev 9522)
+++ trunk/freenet/src/freenet/pluginmanager/PluginRespirator.java
2006-07-09 16:25:51 UTC (rev 9523)
@@ -1,22 +1,16 @@
package freenet.pluginmanager;
-import java.util.HashMap;
-
import freenet.client.HighLevelSimpleClient;
import freenet.node.Node;
import freenet.node.RequestStarter;
public class PluginRespirator {
private HighLevelSimpleClient hlsc = null;
- private PluginManager pm = null;
- private HashMap toadletList;
private Node node;
public PluginRespirator(Node node, PluginManager pm) {
this.node = node;
this.hlsc =
node.makeClient(RequestStarter.INTERACTIVE_PRIORITY_CLASS);
- this.toadletList = new HashMap();
- this.pm = pm;
}
//public HighLevelSimpleClient getHLSimpleClient() throws
PluginSecurityException {
Modified: trunk/freenet/src/freenet/store/KeyCollisionException.java
===================================================================
--- trunk/freenet/src/freenet/store/KeyCollisionException.java 2006-07-09
16:09:06 UTC (rev 9522)
+++ trunk/freenet/src/freenet/store/KeyCollisionException.java 2006-07-09
16:25:51 UTC (rev 9523)
@@ -1,5 +1,5 @@
package freenet.store;
public class KeyCollisionException extends Exception {
-
+ private static final long serialVersionUID = -1;
}
Modified: trunk/freenet/src/freenet/support/DoublyLinkedListImpl.java
===================================================================
--- trunk/freenet/src/freenet/support/DoublyLinkedListImpl.java 2006-07-09
16:09:06 UTC (rev 9522)
+++ trunk/freenet/src/freenet/support/DoublyLinkedListImpl.java 2006-07-09
16:25:51 UTC (rev 9523)
@@ -69,7 +69,6 @@
// Help to detect removal after clear().
// The check in remove() is enough, strictly,
// as long as people don't add elements afterwards.
- Enumeration e = forwardElements();
DoublyLinkedList.Item pos = _headptr.next;
DoublyLinkedList.Item opos = _headptr;
while(true) {
Modified: trunk/freenet/src/freenet/support/io/TempBucketFactory.java
===================================================================
--- trunk/freenet/src/freenet/support/io/TempBucketFactory.java 2006-07-09
16:09:06 UTC (rev 9522)
+++ trunk/freenet/src/freenet/support/io/TempBucketFactory.java 2006-07-09
16:25:51 UTC (rev 9523)
@@ -19,7 +19,6 @@
* @author giannij
*/
public class TempBucketFactory implements BucketFactory {
- private File tmpDir = null;
private static class NOPHook implements TempBucketHook {
public void enlargeFile(long curLength, long finalLength) {