Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
small sonar cleanup
authorMartin Quinson <martin.quinson@ens-rennes.fr>
Mon, 7 Oct 2019 08:35:58 +0000 (10:35 +0200)
committerMartin Quinson <martin.quinson@ens-rennes.fr>
Mon, 7 Oct 2019 19:47:37 +0000 (21:47 +0200)
examples/deprecated/java/app/centralizedmutex/Node.java

index 209cf2c..00f54e4 100644 (file)
@@ -20,7 +20,7 @@ public class Node extends Process {
     Msg.info("Send a request to the coordinator");
     req.send("coordinator");
     Msg.info("Wait for a grant from the coordinator");
-    GrantTask.receive(getName());
+    Task.receive(getName());
     Task compute = new Task("CS", csTime, 0);
     compute.execute();
     ReleaseTask release = new ReleaseTask();