From 0d47e65c962f56888bd19f6bde3d60437c85b84d Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Sun, 10 Jan 2016 19:43:19 +0100 Subject: [PATCH] Remove unnecessary code to enable stream mangement it is now enabled per default. See also 57838f1ffe49b438f8cd49e69cfe3cb4e03397cd and SMACK-655. --- .../jivesoftware/smack/StreamManagementTest.java | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/smack-integration-test/src/main/java/org/jivesoftware/smack/StreamManagementTest.java b/smack-integration-test/src/main/java/org/jivesoftware/smack/StreamManagementTest.java index f19eecdbe..8e30a5b6e 100644 --- a/smack-integration-test/src/main/java/org/jivesoftware/smack/StreamManagementTest.java +++ b/smack-integration-test/src/main/java/org/jivesoftware/smack/StreamManagementTest.java @@ -31,8 +31,6 @@ import org.jivesoftware.smack.filter.FromMatchesFilter; import org.jivesoftware.smack.filter.MessageWithBodiesFilter; import org.jivesoftware.smack.packet.Message; import org.jivesoftware.smack.tcp.XMPPTCPConnection; -import org.junit.AfterClass; -import org.junit.BeforeClass; public class StreamManagementTest extends AbstractSmackLowLevelIntegrationTest { @@ -49,17 +47,6 @@ public class StreamManagementTest extends AbstractSmackLowLevelIntegrationTest { }); } - @BeforeClass - public static void before() { - // TODO remove this once stream mangement is enabled per default - XMPPTCPConnection.setUseStreamManagementDefault(true); - } - - @AfterClass - public static void after() { - XMPPTCPConnection.setUseStreamManagementDefault(false); - } - @SmackIntegrationTest public void testStreamManagement(XMPPTCPConnection conOne, XMPPTCPConnection conTwo) throws InterruptedException, SmackException, IOException, XMPPException {