[freenet-cvs] r11600 - trunk/freenet/src/freenet/node/fcp

toad at freenetproject.org toad at freenetproject.org
Mon Jan 15 21:00:47 UTC 2007


Author: toad
Date: 2007-01-15 21:00:40 +0000 (Mon, 15 Jan 2007)
New Revision: 11600

Modified:
   trunk/freenet/src/freenet/node/fcp/FCPClient.java
Log:
Try to track down wierd NPE

Modified: trunk/freenet/src/freenet/node/fcp/FCPClient.java
===================================================================
--- trunk/freenet/src/freenet/node/fcp/FCPClient.java	2007-01-15 20:48:50 UTC (rev 11599)
+++ trunk/freenet/src/freenet/node/fcp/FCPClient.java	2007-01-15 21:00:40 UTC (rev 11600)
@@ -27,6 +27,7 @@
 	
 	public FCPClient(String name2, FCPServer server, FCPConnectionHandler handler, boolean isGlobalQueue) {
 		this.name = name2;
+		if(name == null) throw new NullPointerException();
 		this.currentConnection = handler;
 		this.runningPersistentRequests = new HashSet();
 		this.completedUnackedRequests = new LRUQueue();




More information about the cvs mailing list