package alluxio.mesos;
import alluxio.Configuration;
import alluxio.Constants;
<BUG>import org.apache.mesos.Protos;
public final class OfferUtils {
private OfferUtils() {} // prevent instantiation</BUG>
public static boolean hasAvailableMasterPorts(Protos.Offer offer) {
Protos.Value.Ranges ranges = getOfferedPorts(offer);

package alluxio.mesos;
import alluxio.Configuration;
import alluxio.Constants;
import org.apache.mesos.Protos;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public final class OfferUtils {
private static final Logger LOG = LoggerFactory.getLogger(Constants.LOGGER_TYPE);
private OfferUtils() {} // prevent instantiation
public static boolean hasAvailableMasterPorts(Protos.Offer offer) {
Protos.Value.Ranges ranges = getOfferedPorts(offer);
