Entities.invokeEffectorList(e, startables, Startable.START, MutableMap.of("locations", locations)).getUnchecked();
}
}
public static void stop(EntityLocal e) {
log.debug("Stopping entity "+e);
<BUG>Iterable<Entity> startables = Iterables.filter(e.getOwnedChildren(), Predicates.instanceOf(Startable.class));
if (!Iterables.isEmpty(startables)) {</BUG>
Entities.invokeEffectorList(e, startables, Startable.STOP).getUnchecked();
}
if (log.isDebugEnabled()) log.debug("Stopped entity "+e);

Entities.invokeEffectorList(e, startables, Startable.START, MutableMap.of("locations", locations)).getUnchecked();
}
}
public static void stop(EntityLocal e) {
log.debug("Stopping entity "+e);
Iterable<Entity> startables = filterStartableManagedEntities(e.getOwnedChildren());
if (!Iterables.isEmpty(startables)) {
Entities.invokeEffectorList(e, startables, Startable.STOP).getUnchecked();
}
if (log.isDebugEnabled()) log.debug("Stopped entity "+e);
