Test
This commit is contained in:
parent
7f3a91e6dc
commit
3f97f9d8ac
3 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue