From b276b89916b89f6d9ac03548ec5bec27493a0f1c Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Thu, 18 Mar 2021 21:32:37 +0100 Subject: [PATCH] [sinttest] Add code comment and empty line --- .../org/igniterealtime/smack/XmppConnectionStressTest.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/smack-integration-test/src/main/java/org/igniterealtime/smack/XmppConnectionStressTest.java b/smack-integration-test/src/main/java/org/igniterealtime/smack/XmppConnectionStressTest.java index f741c7cc2..f9d988308 100644 --- a/smack-integration-test/src/main/java/org/igniterealtime/smack/XmppConnectionStressTest.java +++ b/smack-integration-test/src/main/java/org/igniterealtime/smack/XmppConnectionStressTest.java @@ -196,9 +196,12 @@ public class XmppConnectionStressTest { for (boolean[] markers : myReceiveMarkers.values()) { if (BooleansUtils.contains(markers, false)) { + // There is at least one message we did not receive yet, therefore do not signal the + // receivedSemaphore. return; } } + // All markers set to true, this means we received all messages. receivedSemaphore.release(); }