TD2: Avoid to duplicate newline.
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Fri, 9 Mar 2018 23:32:32 +0000 (00:32 +0100)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Fri, 9 Mar 2018 23:32:32 +0000 (00:32 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
.gitignore
TD2/ClientSimplifie.java

index b5705d30ff0342074553c65d7b68a2ed7715e97e..885da23894a515e976793ce20fcb107fd828ec38 100644 (file)
@@ -15,3 +15,5 @@ hs_err_pid*
 # editor trash
 *.swp
 *~
+
+.DS_Store
index c5eb31ac41bc918aab04ee5380d3132a7c2feb7b..f5ccb40933f3f1f315b6de53588d228971193701 100644 (file)
@@ -44,7 +44,7 @@ public class ClientSimplifie {
     }
 
     public void sendMsg(String msg) {
-        ecriture.println(msg + "\n");
+        ecriture.println(msg);
         ecriture.flush();
     }