I have this code which calculates pages based on sent range:
private Pair parse(String value) { if (StringUtils.isEmpty(value)