import com.google.common.base.Preconditions;
import com.google.common.primitives.Ints;
public class Range implements Comparable<Range> {
public final int from;
public final int to;
<BUG>public Range(int from, int to) {
Preconditions.checkArgument(from < to, "Range start cannot be larger than end. But start=" + from + "end=" + to);
this.to = to;</BUG>
this.from = from;
}

import com.google.common.base.Preconditions;
import com.google.common.primitives.Ints;
public class Range implements Comparable<Range> {
public final int from;
public final int to;
public Range(int from, int to) {
Preconditions.checkArgument(from < to,
"Range start cannot be larger than end. But start=" + from + "end=" + to);
this.to = to;
this.from = from;
}
