Author: toad
Date: 2008-04-12 15:16:09 +0000 (Sat, 12 Apr 2008)
New Revision: 19239
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-04-12 15:07:41 UTC
(rev 19238)
+++ trunk/freenet/src/freenet/store/StoreCallback.java 2008-04-12 15:16:09 UTC
(rev 19239)
@@ -41,7 +41,9 @@
// Reconstruction
- /** Construct a StorableBlock from the data, headers, and optionally
routing key or full key
+ /** Construct a StorableBlock from the data, headers, and optionally
routing key or full key.
+ * IMPORTANT: Using the full key or routing key is OPTIONAL, and if we
don't use them, WE DON'T
+ * CHECK THEM EITHER! You MUST check that the key is the one you
expected.
* @throws KeyVerifyException */
abstract StorableBlock construct(byte[] data, byte[] headers, byte[]
routingKey, byte[] fullKey) throws KeyVerifyException;