Sho SHIMIZU
Committed by Sho Shimizu

Refactor: Simplify getAllocatedResources() in ConsistentResourceStore

Change-Id: I02c4c4b5304c0e16e49356afbf6bb4e2fad2afa6
......@@ -311,11 +311,6 @@ public class ConsistentResourceStore extends AbstractStore<ResourceEvent, Resour
checkNotNull(parent);
checkNotNull(cls);
Set<Resource> children = getChildResources(parent);
if (children.isEmpty()) {
return children;
}
Stream<DiscreteResource> discrete = discreteStore.getAllocatedResources(parent, cls);
Stream<ContinuousResource> continuous = continuousStore.getAllocatedResources(parent, cls);
......