Mercurial > hg > Database > Alice
diff src/alice/topology/node/StartTopologyNode.java @ 46:1a498f436332
bug fix for time calculate
author | kazz <kazz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 04 Feb 2012 16:03:05 +0900 |
parents | ca079a730d0b |
children | 7982324d4329 |
line wrap: on
line diff
--- a/src/alice/topology/node/StartTopologyNode.java Sat Feb 04 14:31:07 2012 +0900 +++ b/src/alice/topology/node/StartTopologyNode.java Sat Feb 04 16:03:05 2012 +0900 @@ -10,11 +10,11 @@ public class StartTopologyNode extends CodeSegment { private TopologyNodeConfig conf; - private Class<? extends CodeSegment> clazz; + private CodeSegment startCS; - public StartTopologyNode(TopologyNodeConfig conf, Class<? extends CodeSegment> clazz) { + public StartTopologyNode(TopologyNodeConfig conf, CodeSegment startCS) { this.conf = conf; - this.clazz = clazz; + this.startCS = startCS; } @Override @@ -39,7 +39,7 @@ ods.put("local", "reverseCount", 0); - ConfigurationFinish cs3 = new ConfigurationFinish(clazz); + ConfigurationFinish cs3 = new ConfigurationFinish(startCS); cs3.reverseCount.setKey("local", "reverseCount"); cs3.configNodeNum.setKey("local", "configNodeNum"); }