We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02c2aba commit 76f114dCopy full SHA for 76f114d
1 file changed
sleepingBarber/src/main/kotlin/ac/at/uibk/dps/dapr/barber/waitingroom/WaitingRoomActorImpl.kt
@@ -29,7 +29,7 @@ class WaitingRoomActorImpl(runtimeContext: ActorRuntimeContext<WaitingRoomActorI
29
if (isBarberSleeping) {
30
isBarberSleeping = false
31
client.publishEvent("pubsub", "sit", getMap(waiting[0])).subscribe()
32
- waiting.remove(0)
+ waiting.removeAt(0)
33
}
34
} else {
35
client.publishEvent("pubsub", "full", getMap(customer)).subscribe()
@@ -47,7 +47,7 @@ class WaitingRoomActorImpl(runtimeContext: ActorRuntimeContext<WaitingRoomActorI
47
if (!waiting.isEmpty()) {
48
49
50
51
52
53
0 commit comments