From c53e2b09ee6d0e15890cb74adbcb5baf9b872fbd Mon Sep 17 00:00:00 2001 From: Shahnam Javidnia <3015418@stud.hs-mannheim.de> Date: Thu, 1 May 2025 15:56:46 +0200 Subject: [PATCH] Update pp.A1-CondPhilosophers/src/main/java/pp/Philosopher.java --- pp.A1-CondPhilosophers/src/main/java/pp/Philosopher.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pp.A1-CondPhilosophers/src/main/java/pp/Philosopher.java b/pp.A1-CondPhilosophers/src/main/java/pp/Philosopher.java index 8c400c7..56a4c3b 100644 --- a/pp.A1-CondPhilosophers/src/main/java/pp/Philosopher.java +++ b/pp.A1-CondPhilosophers/src/main/java/pp/Philosopher.java @@ -36,7 +36,7 @@ public class Philosopher extends Thread implements IPhilosopher { @Override public void setTable(Lock table) { - // TODO Auto-generated method stub// + // TODO Auto-generated method stub this.table = table; this.canEat = table.newCondition(); @@ -127,7 +127,7 @@ public class Philosopher extends Thread implements IPhilosopher { } } - // Gibt zurück, ob dieser Philosoph aktuell isst – wichtig für die Nachbarn. + // Gibt zurück, ob dieser Philosoph aktuell isst wichtig für die Nachbarn. public boolean isEating() { return eating; }