This commit is contained in:
Loic Guegan 2016-03-29 10:42:20 +02:00
parent 7f3a91e6dc
commit 3f97f9d8ac
3 changed files with 1 additions and 2 deletions

View file

@ -22,7 +22,6 @@ public class Router {
public void buildLink(Router router, int weight){
this.links.remove(router);
router.removeLink(this);
this.links.put(router, weight);
router.addLink(this, weight);