Skip to content
Snippets Groups Projects
Commit 88f2c781 authored by Jan Zickermann's avatar Jan Zickermann
Browse files

OZG-4095 todo: Add nullable reminder

parent a9101e0f
No related branches found
No related tags found
2 merge requests!9Draft: Ozg 4094 wiremock ausprobieren,!7Ozg-4094 Konfiguration für nachrichten-manager
...@@ -23,7 +23,7 @@ public class PostfachApiFacadeService { ...@@ -23,7 +23,7 @@ public class PostfachApiFacadeService {
private final RequestMapper requestMapper; private final RequestMapper requestMapper;
private final ResponseMapper responseMapper; private final ResponseMapper responseMapper;
private static int MAX_NUMBER_RECEIVED_MESSAGES = 100; private static final int MAX_NUMBER_RECEIVED_MESSAGES = 100;
public void sendMessage(PostfachNachricht nachricht) { public void sendMessage(PostfachNachricht nachricht) {
messageExchangeApi.sendMessage( messageExchangeApi.sendMessage(
...@@ -34,6 +34,7 @@ public class PostfachApiFacadeService { ...@@ -34,6 +34,7 @@ public class PostfachApiFacadeService {
public Stream<PostfachNachricht> receiveMessages() { public Stream<PostfachNachricht> receiveMessages() {
var response = messageExchangeApi.receiveMessages(MAX_NUMBER_RECEIVED_MESSAGES, 0); var response = messageExchangeApi.receiveMessages(MAX_NUMBER_RECEIVED_MESSAGES, 0);
// TODO response.getMessages() is Nullable
return response.getMessages().stream().map(this::fetchMessageByGuid); return response.getMessages().stream().map(this::fetchMessageByGuid);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment