Mercurial > hg > Database > Christie
changeset 54:84089813455f
fix TopologyManager
author | akahori |
---|---|
date | Thu, 23 Aug 2018 10:10:35 +0900 |
parents | be8c40709e89 |
children | 34181394333f |
files | src/main/java/christie/topology/manager/TopologyManager.java |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main/java/christie/topology/manager/TopologyManager.java Thu Aug 23 09:54:50 2018 +0900 +++ b/src/main/java/christie/topology/manager/TopologyManager.java Thu Aug 23 10:10:35 2018 +0900 @@ -74,9 +74,7 @@ target = edge.getTarget().getNode().getId().getId(); nodeInfo = new NodeInfo(source, connection); - //Question: この下の2行はどんな役目? - //LinkedList<NodeInfo> sources = topology.get(target); - //sources.add(nodeInfo); // addしてその後の使い道は...? + topology.get(target).add(nodeInfo); hash.put(source + "," + target, nodeInfo); }