code formatting
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/d1a5ce4a Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/d1a5ce4a Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/d1a5ce4a Branch: refs/heads/master Commit: d1a5ce4ae00370fe9150a0c9c71ef6bb296678e2 Parents: 0c794b0 Author: reka <[email protected]> Authored: Thu Aug 20 13:47:42 2015 +0530 Committer: reka <[email protected]> Committed: Thu Aug 20 14:00:29 2015 +0530 ---------------------------------------------------------------------- .../integration/tests/application/GroupStartupOrderTest.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/stratos/blob/d1a5ce4a/products/stratos/modules/integration/src/test/java/org/apache/stratos/integration/tests/application/GroupStartupOrderTest.java ---------------------------------------------------------------------- diff --git a/products/stratos/modules/integration/src/test/java/org/apache/stratos/integration/tests/application/GroupStartupOrderTest.java b/products/stratos/modules/integration/src/test/java/org/apache/stratos/integration/tests/application/GroupStartupOrderTest.java index dd30def..4b68695 100644 --- a/products/stratos/modules/integration/src/test/java/org/apache/stratos/integration/tests/application/GroupStartupOrderTest.java +++ b/products/stratos/modules/integration/src/test/java/org/apache/stratos/integration/tests/application/GroupStartupOrderTest.java @@ -27,8 +27,6 @@ import org.apache.stratos.integration.tests.TopologyHandler; import org.apache.stratos.messaging.domain.application.ApplicationStatus; import org.testng.annotations.Test; -import java.util.ArrayList; -import java.util.List; import java.util.Map; import static junit.framework.Assert.*; @@ -313,7 +311,7 @@ public class GroupStartupOrderTest extends StratosTestServerManager { Map<String, Long> activeMembers = TopologyHandler.getInstance().getActivateddMembers(); Map<String, Long> createdMembers = TopologyHandler.getInstance().getCreatedMembers(); //Active member should be available at the time cluster is started to create. - while(!activeMembers.containsKey(firstNodeId)) { + while (!activeMembers.containsKey(firstNodeId)) { try { Thread.sleep(1000); } catch (InterruptedException e) { @@ -325,7 +323,7 @@ public class GroupStartupOrderTest extends StratosTestServerManager { } assertTrue(activeMembers.containsKey(firstNodeId)); - while(!createdMembers.containsKey(secondNodeId)) { + while (!createdMembers.containsKey(secondNodeId)) { try { Thread.sleep(1000); } catch (InterruptedException e) { @@ -347,7 +345,7 @@ public class GroupStartupOrderTest extends StratosTestServerManager { Map<String, Long> createdMembers = TopologyHandler.getInstance().getCreatedMembers(); //Active member should be available at the time cluster is started to create. - while(!(createdMembers.containsKey(firstNodeId) && createdMembers.containsKey(firstNodeId))) { + while (!(createdMembers.containsKey(firstNodeId) && createdMembers.containsKey(firstNodeId))) { try { Thread.sleep(1000); } catch (InterruptedException e) {
