protected MachineProvisioningLocation getProvisioningLocation() {
return getAttribute(PROVISIONING_LOCATION);
}</BUG>
@Override
<BUG>public void restart() {
Collection<Location> locations = getLocations();
stop();
start(locations);</BUG>
}
@Override

package brooklyn.entity.basic;
import static com.google.common.base.Preconditions.checkNotNull;
import java.util.Collection;
import brooklyn.entity.software.MachineLifecycleEffectorTasks;
import brooklyn.location.Location;
public class SameServerEntityImpl extends AbstractEntity implements SameServerEntity {
private static final MachineLifecycleEffectorTasks LIFECYCLE_TASKS = new SameServerDriverLifecycleEffectorTasks();
@Override
public void restart() {
LIFECYCLE_TASKS.restart();
}
@Override
