X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f3b7e5f4b4d7c87ee3e8827313ec966ea8fc8387..ea74f5d95928a521a588737e81f1de94eef25d19:/examples/deprecated/java/app/centralizedmutex/Coordinator.java diff --git a/examples/deprecated/java/app/centralizedmutex/Coordinator.java b/examples/deprecated/java/app/centralizedmutex/Coordinator.java index 20b82dcb8e..cdf0447d41 100644 --- a/examples/deprecated/java/app/centralizedmutex/Coordinator.java +++ b/examples/deprecated/java/app/centralizedmutex/Coordinator.java @@ -1,4 +1,4 @@ -/* Copyright (c) 2012-2020. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2012-2022. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -20,7 +20,7 @@ public class Coordinator extends Process { public void main(String[] args) throws MsgException { int csToServe = Integer.parseInt(args[0]); LinkedList waitingQueue=new LinkedList<>(); - + while (csToServe >0) { Task task = Task.receive("coordinator"); if (task instanceof RequestTask) {