SLING-2320 Apply slightly modified patch by Jeff Young (thanks alot).
The change is from
if (maxRecursionLevels == 1) {
// some comment
} else if (count > maxResources) {
throw new RecursionTooDeepException(String.valueOf(currentLevel));
}
to
if (count > maxResources && maxRecursionLevels > 1) {
throw new RecursionTooDeepException(String.valueOf(currentLevel));
}
|