From 43be1c56d6205a70bc2740ef105f329d5e7461cc Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Sat, 13 Aug 2022 17:58:22 +0200 Subject: [PATCH] =?utf8?q?GR=C3=9CN:=20Erwartungen=20implementiert?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/main/java/de/juplo/kafka/SumBusinessLogic.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/de/juplo/kafka/SumBusinessLogic.java b/src/main/java/de/juplo/kafka/SumBusinessLogic.java index 27ddebb..a767aea 100644 --- a/src/main/java/de/juplo/kafka/SumBusinessLogic.java +++ b/src/main/java/de/juplo/kafka/SumBusinessLogic.java @@ -50,7 +50,7 @@ public class SumBusinessLogic if (!state.containsKey(user)) throw new IllegalStateException("No sumation for " + user + " in progress"); - return state.get(user); + return state.remove(user); } protected Map getState() -- 2.20.1