retVal.add(new PageRotation(PageRotation.NO_PAGE, degrees, PageRotation.ALL_PAGES));
break;
} else if (ODD_STRING.equals(pageNumber)) {
if (!retVal.isEmpty()) {
LOG.warn("Page rotation for odd pages found, other rotations removed");
retVal.clear();
}
retVal.add(new PageRotation(PageRotation.NO_PAGE, degrees, PageRotation.ODD_PAGES));
break;
} else if (EVEN_STRING.equals(pageNumber)) {
if (!retVal.isEmpty()) {