From 15f2240c29062e572f512e703a06e414bb3d5d37 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Mon, 16 Jun 2008 22:46:31 +0200 Subject: [PATCH] add comment to enhance that the input stream must be consumed --- src/net/pterodactylus/fcp/AllData.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/net/pterodactylus/fcp/AllData.java b/src/net/pterodactylus/fcp/AllData.java index 818d1a8..bf2a232 100644 --- a/src/net/pterodactylus/fcp/AllData.java +++ b/src/net/pterodactylus/fcp/AllData.java @@ -90,7 +90,9 @@ public class AllData extends BaseMessage { } /** - * Returns the payload input stream. + * Returns the payload input stream. You have consume the + * input stream before returning from the + * {@link FcpListener#receivedAllData(FcpConnection, AllData)} method! * * @return The payload */ -- 2.7.4