Mercurial > hg > Database > Alice
changeset 588:dd9bd18fd878 dispose
change StartTopologyNode
author | Nozomi Teruya <e125769@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 30 Jan 2016 20:41:01 +0900 |
parents | 4d38c71938f5 |
children | cc14a7d3c46d |
files | src/main/java/alice/topology/node/StartTopologyNode.java |
diffstat | 1 files changed, 4 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main/java/alice/topology/node/StartTopologyNode.java Sat Jan 30 20:31:06 2016 +0900 +++ b/src/main/java/alice/topology/node/StartTopologyNode.java Sat Jan 30 20:41:01 2016 +0900 @@ -48,12 +48,11 @@ cs2.reverseCount.setKey("local", "reverseCount"); ods.put("local", "reverseCount", 0); + ConfigurationFinish cs3 = new ConfigurationFinish(startCS, topMNumber); + cs3.reverseCount.setKey("local", "reverseCount"); + cs3.configNodeNum.setKey("local", "configNodeNum"); - if (topMNumber == 1){ - ConfigurationFinish cs3 = new ConfigurationFinish(startCS, topMNumber); - cs3.reverseCount.setKey("local", "reverseCount"); - cs3.configNodeNum.setKey("local", "configNodeNum"); - } else { + if (topMNumber != 1){ new StartTopologyNode(configs, startCS, topMNumber - 1).execute(); }