correction erreurs

This commit is contained in:
Auriane Lartigue 2020-12-05 12:46:48 +01:00
parent f0bef07323
commit aecd3e2692
2 changed files with 3 additions and 3 deletions

View file

@ -123,9 +123,9 @@ class RunnerTCPEcoute implements Runnable {
String line = in.readLine();
String msg = "";
while (line != null) {
if(!msg.equals("")) {
System.out.println("Received: "+ msg);
}
//if(!msg.equals("")) {
System.out.println("Received: "+ line);
//}
/*if((line.split(" ")[0].equals("Destinataire"))) {
if(msg != "") {
MessageHorodate mh = MessageHorodate.stringToMessageHorodate(msg);