Author: toad
Date: 2008-06-18 18:44:21 +0000 (Wed, 18 Jun 2008)
New Revision: 20445

Modified:
   branches/db4o/freenet/src/freenet/node/fcp/FCPClient.java
Log:
Use NullObject here to avoid ObjectNotStorableException.

Modified: branches/db4o/freenet/src/freenet/node/fcp/FCPClient.java
===================================================================
--- branches/db4o/freenet/src/freenet/node/fcp/FCPClient.java   2008-06-18 
18:42:57 UTC (rev 20444)
+++ branches/db4o/freenet/src/freenet/node/fcp/FCPClient.java   2008-06-18 
18:44:21 UTC (rev 20445)
@@ -14,6 +14,7 @@
 import freenet.keys.FreenetURI;
 import freenet.node.RequestClient;
 import freenet.support.Logger;
+import freenet.support.NullObject;
 import freenet.support.io.NativeThread;

 /**
@@ -71,7 +72,7 @@
        int watchGlobalVerbosityMask;
        /** FCPClients watching us. Lazy init, sync on clientsWatchingLock */
        private transient LinkedList clientsWatching;
-       private final Object clientsWatchingLock = new Object();
+       private final NullObject clientsWatchingLock = new NullObject();
        private final LinkedList toStart;
        final RequestClient lowLevelClient;
        private transient RequestCompletionCallback completionCallback;


Reply via email to