From dd248adb287be273061cc23411ade348a3afc62e Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Mon, 13 Apr 2020 22:49:31 +0200 Subject: [PATCH] sinttest: delcare boolean in WaitForClosingStreamElementTest --- .../jivesoftware/smack/WaitForClosingStreamElementTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/smack-integration-test/src/main/java/org/jivesoftware/smack/WaitForClosingStreamElementTest.java b/smack-integration-test/src/main/java/org/jivesoftware/smack/WaitForClosingStreamElementTest.java index 65bf5a5a4..023979d64 100644 --- a/smack-integration-test/src/main/java/org/jivesoftware/smack/WaitForClosingStreamElementTest.java +++ b/smack-integration-test/src/main/java/org/jivesoftware/smack/WaitForClosingStreamElementTest.java @@ -43,6 +43,7 @@ public class WaitForClosingStreamElementTest extends AbstractSmackLowLevelIntegr if (failureException != null) { throw new AssertionError("Sync poing yielded failure exception", failureException); } - assertTrue(closingStreamReceived.wasSuccessful()); + boolean closingStreamReceivedSuccessful = closingStreamReceived.wasSuccessful(); + assertTrue(closingStreamReceivedSuccessful); } }