Fix java-example for standalone ask with status fail future in typed/interaction-patterns.md (#31480)
This commit is contained in:
parent
5a1bccf5aa
commit
063cdce3c1
1 changed files with 1 additions and 1 deletions
|
|
@ -213,7 +213,7 @@ public class InteractionPatternsAskWithStatusTest extends JUnitSuite {
|
|||
|
||||
cookies.whenComplete(
|
||||
(cookiesReply, failure) -> {
|
||||
if (cookies != null) System.out.println("Yay, " + cookiesReply.count + " cookies!");
|
||||
if (cookiesReply != null) System.out.println("Yay, " + cookiesReply.count + " cookies!");
|
||||
else System.out.println("Boo! didn't get cookies in time. " + failure);
|
||||
});
|
||||
// #standalone-ask-with-status-fail-future
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue