public class StartableMethods {
public static final Logger log = LoggerFactory.getLogger(StartableMethods.class);
private StartableMethods() {}
public static void start(EntityLocal e, Collection<? extends Location> locations) {
log.info("Starting entity "+e+" at "+locations);
<BUG>Iterable<Entity> startables = Iterables.filter(e.getOwnedChildren(), Predicates.instanceOf(Startable.class));
if (!Iterables.isEmpty(startables)) {</BUG>
Entities.invokeEffectorList(e, startables, Startable.START, MutableMap.of("locations", locations)).getUnchecked();
}
}

public class StartableMethods {
public static final Logger log = LoggerFactory.getLogger(StartableMethods.class);
private StartableMethods() {}
public static void start(EntityLocal e, Collection<? extends Location> locations) {
log.info("Starting entity "+e+" at "+locations);
Iterable<Entity> startables = filterStartableManagedEntities(e.getOwnedChildren());
if (!Iterables.isEmpty(startables)) {
Entities.invokeEffectorList(e, startables, Startable.START, MutableMap.of("locations", locations)).getUnchecked();
}
}
