Yuta HIGUCHI

fix type mismatch

Change-Id: I5f0994ebbb46bb7bfe5926a27923f0971b58729a
......@@ -195,7 +195,7 @@ public class DistributedLinkResourceStore implements LinkResourceStore {
@Override
public void releaseResources(LinkResourceAllocations allocations) {
checkNotNull(allocations);
linkResourceAllocationsMap.remove(allocations);
linkResourceAllocationsMap.remove(allocations.intendId());
for (Link link : allocations.links()) {
addFreeResources(link, allocations);
Set<LinkResourceAllocations> linkAllocs = allocatedResources.get(link);
......
......@@ -195,7 +195,7 @@ public class SimpleLinkResourceStore implements LinkResourceStore {
@Override
public void releaseResources(LinkResourceAllocations allocations) {
checkNotNull(allocations);
linkResourceAllocationsMap.remove(allocations);
linkResourceAllocationsMap.remove(allocations.intendId());
for (Link link : allocations.links()) {
addFreeResources(link, allocations);
Set<LinkResourceAllocations> linkAllocs = allocatedResources.get(link);
......