}
private void determineXCenter() {
List<Integer> xSumValues = new ArrayList<>();
for (Integer yCoord : mLeftPoints.keySet()) {
xSumValues.add(mLeftPoints.get(yCoord) + mRightPoints.get(yCoord));
<BUG>}
xSumValues.sort(new Comparator<Integer>() {
@Override
public int compare(final Integer integer1, final Integer integer2) {
return Integer.compare(integer1, integer2);
}
});</BUG>
mXCenter = xSumValues.get(xSumValues.size() / 2) / 2;

}
}
}
