From f8c647b503f84d4a8fc9ff0564f8bcfa989f3020 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Fri, 16 Mar 2018 20:56:00 +0100 Subject: [PATCH] TD2: Fix some comments. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- TD2/IHM/SocketClient.java | 4 ++-- TD2/client/SocketClient.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/TD2/IHM/SocketClient.java b/TD2/IHM/SocketClient.java index d6db15d..daa77ee 100644 --- a/TD2/IHM/SocketClient.java +++ b/TD2/IHM/SocketClient.java @@ -95,7 +95,7 @@ public class SocketClient { /** * Send an object message on the opened client socket - * @param msg a string containing the message to send + * @param oMsg an object containing the message to send */ public void sendoMsg(Message oMsg) throws IOException { oEcriture.writeObject(oMsg); @@ -115,7 +115,7 @@ public class SocketClient { /** * Receive an object message sent on the opened client socket - * @return a string containing the received message + * @return an object containing the received message */ public Message receiveoMsg() throws IOException, ClassNotFoundException { return (Message)oLecture.readObject(); diff --git a/TD2/client/SocketClient.java b/TD2/client/SocketClient.java index 15ed279..b038475 100644 --- a/TD2/client/SocketClient.java +++ b/TD2/client/SocketClient.java @@ -95,7 +95,7 @@ public class SocketClient { /** * Send an object message on the opened client socket - * @param msg a string containing the message to send + * @param oMsg an object containing the message to send */ public void sendoMsg(Message oMsg) throws IOException { oEcriture.writeObject(oMsg); @@ -115,7 +115,7 @@ public class SocketClient { /** * Receive an object message sent on the opened client socket - * @return a string containing the received message + * @return a object containing the received message */ public Message receiveoMsg() throws IOException, ClassNotFoundException { return (Message)oLecture.readObject(); -- 2.34.1