projects
/
demos
/
kafka
/
training
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7acccf1
)
GRÜN: Erwartungen implementiert
author
Kai Moritz
<kai@juplo.de>
Sat, 13 Aug 2022 13:24:53 +0000
(15:24 +0200)
committer
Kai Moritz
<kai@juplo.de>
Sat, 13 Aug 2022 20:07:32 +0000
(22:07 +0200)
src/main/java/de/juplo/kafka/AdderBusinessLogic.java
patch
|
blob
|
history
diff --git
a/src/main/java/de/juplo/kafka/AdderBusinessLogic.java
b/src/main/java/de/juplo/kafka/AdderBusinessLogic.java
index
df8c5f9
..
9fd5b0d
100644
(file)
--- a/
src/main/java/de/juplo/kafka/AdderBusinessLogic.java
+++ b/
src/main/java/de/juplo/kafka/AdderBusinessLogic.java
@@
-32,6
+32,6
@@
public class AdderBusinessLogic
public synchronized Optional<Long> getSum(String user)
{
- return Optional.
empty(
);
+ return Optional.
ofNullable(state.get(user)
);
}
}