[freenet-cvs] r16927 - trunk/freenet/src/freenet/store

toad at freenetproject.org toad at freenetproject.org
Sat Jan 5 21:56:46 UTC 2008


Author: toad
Date: 2008-01-05 21:56:46 +0000 (Sat, 05 Jan 2008)
New Revision: 16927

Modified:
   trunk/freenet/src/freenet/store/StoreCallback.java
Log:
comments

Modified: trunk/freenet/src/freenet/store/StoreCallback.java
===================================================================
--- trunk/freenet/src/freenet/store/StoreCallback.java	2008-01-05 21:56:34 UTC (rev 16926)
+++ trunk/freenet/src/freenet/store/StoreCallback.java	2008-01-05 21:56:46 UTC (rev 16927)
@@ -34,10 +34,8 @@
 	
 	protected FreenetStore store;
 	
-	/** Called once when first connecting to a FreenetStore */
+	/** Called once when first connecting to a FreenetStore. Package-local. */
 	void setStore(FreenetStore store) {
-		if(this.store != null)
-			throw new IllegalArgumentException("Calling setStore twice!");
 		this.store = store;
 	}
 	




More information about the cvs mailing list