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:
614ab1f
)
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 13:24:53 +0000
(15:24 +0200)
src/main/java/de/juplo/kafka/SumBusinessLogic.java
patch
|
blob
|
history
diff --git
a/src/main/java/de/juplo/kafka/SumBusinessLogic.java
b/src/main/java/de/juplo/kafka/SumBusinessLogic.java
index
5cb906a
..
605e55c
100644
(file)
--- a/
src/main/java/de/juplo/kafka/SumBusinessLogic.java
+++ b/
src/main/java/de/juplo/kafka/SumBusinessLogic.java
@@
-31,6
+31,6
@@
public class SumBusinessLogic
public synchronized Optional<Long> getSum(String user)
{
- return Optional.
empty(
);
+ return Optional.
ofNullable(state.get(user)
);
}
}