comparison src/main/java/alice/topology/node/StartTopologyNode.java @ 585:33c011f9fb81 dispose

change topMNum count of StartAliceVNC
author Nozomi Teruya <e125769@ie.u-ryukyu.ac.jp>
date Sat, 30 Jan 2016 16:39:55 +0900
parents 8f765e3eed24
children ba4ec1a593f9
comparison
equal deleted inserted replaced
584:8f765e3eed24 585:33c011f9fb81
16 private CodeSegment startCS; 16 private CodeSegment startCS;
17 private int topMNumber; 17 private int topMNumber;
18 18
19 public StartTopologyNode(LinkedList<TopologyNodeConfig> configs, CodeSegment startCS, int topMNum) { 19 public StartTopologyNode(LinkedList<TopologyNodeConfig> configs, CodeSegment startCS, int topMNum) {
20 this.configs = configs; 20 this.configs = configs;
21 this.conf = configs.get(topMNum); 21 this.conf = configs.get(topMNum - 1);
22 this.startCS = startCS; 22 this.startCS = startCS;
23 this.topMNumber = topMNum; 23 this.topMNumber = topMNum;
24 } 24 }
25 25
26 @Override 26 @Override