[freenet-cvs] r20382 - trunk/apps/jFCPlib/src/net/pterodactylus/fcp

bombe at freenetproject.org bombe at freenetproject.org
Mon Jun 16 20:51:27 UTC 2008


Author: bombe
Date: 2008-06-16 20:51:27 +0000 (Mon, 16 Jun 2008)
New Revision: 20382

Modified:
   trunk/apps/jFCPlib/src/net/pterodactylus/fcp/AllData.java
Log:
add comment stressing that the input stream must be consumed immediately

Modified: trunk/apps/jFCPlib/src/net/pterodactylus/fcp/AllData.java
===================================================================
--- trunk/apps/jFCPlib/src/net/pterodactylus/fcp/AllData.java	2008-06-16 20:22:14 UTC (rev 20381)
+++ trunk/apps/jFCPlib/src/net/pterodactylus/fcp/AllData.java	2008-06-16 20:51:27 UTC (rev 20382)
@@ -91,7 +91,9 @@
 	}
 
 	/**
-	 * Returns the payload input stream.
+	 * Returns the payload input stream. You <strong>have</strong> consume the
+	 * input stream before returning from the
+	 * {@link FcpListener#receivedAllData(FcpConnection, AllData)} method!
 	 * 
 	 * @return The payload
 	 */




More information about the cvs mailing list