Änderungen vom 05.12.2023 um 17:00

This commit is contained in:
Leon Schubert 2023-12-05 17:09:05 +01:00
parent b677a642e7
commit d36cbd8be7
5 changed files with 2 additions and 9 deletions

View File

@ -1,7 +0,0 @@
package Prog3.src.DiningPhilosophers;
import static org.junit.jupiter.api.Assertions.*;
class ForkTest {
}

View File

@ -40,10 +40,10 @@ public class SorterClient implements Runnable{
try (Socket socket = new Socket("localhost", 12345)) {
sendLine(socket, line);
receiveLine(socket);
return receiveLine(socket);
} catch (Exception e) {
return "Error connecting to the server.";
}
return line;
}
}