projects
/
demos
/
kafka
/
training
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ROT: Rückbau auf automatische Commits - Testfälle laufen nicht mehr
[demos/kafka/training]
/
src
/
main
/
java
/
de
/
juplo
/
kafka
/
AdderBusinessLogic.java
diff --git
a/src/main/java/de/juplo/kafka/AdderBusinessLogic.java
b/src/main/java/de/juplo/kafka/AdderBusinessLogic.java
index
c0a4332
..
1f3d9aa
100644
(file)
--- a/
src/main/java/de/juplo/kafka/AdderBusinessLogic.java
+++ b/
src/main/java/de/juplo/kafka/AdderBusinessLogic.java
@@
-51,7
+51,7
@@
public class AdderBusinessLogic
if (!state.containsKey(user))
throw new IllegalStateException("No sumation for " + user + " in progress");
if (!state.containsKey(user))
throw new IllegalStateException("No sumation for " + user + " in progress");
- return state.
get
(user);
+ return state.
remove
(user);
}
protected Map<String, Long> getState()
}
protected Map<String, Long> getState()