Skip to content

Commit

Permalink
fixed - compilation failure as incompatible from interface to class
Browse files Browse the repository at this point in the history
  • Loading branch information
hetianzhang committed Jun 18, 2019
1 parent 325e603 commit 0fa9cd2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ private Map<Node,HostGroup> getHostGroupMap() {
for(Node e: edges) {
HostGroup hg = new HostGroup();
hg.edge = (EdgeSwitch) e;
hg.hosts = new ArrayList<SDNHost>((Collection<? extends SDNHost>)topology.getConnectedNodesLow(e));
hg.hosts = new ArrayList<SDNHost>((Collection<? extends SDNHost>)(Collection<? extends Node>)topology.getConnectedNodesLow(e));
for(SDNHost h:hg.hosts) {
hg.numHosts++;
hg.availableMips += h.getAvailableMips();
Expand Down

0 comments on commit 0fa9cd2

Please sign in to comment.