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));
  }

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1210669 13f79535-47bb-0310-9956-ffa450edef68
2 files changed
tree: 33fd1dea41553e9132494a7e9b96c5e13b0bfe7b
  1. src/
  2. pom.xml
  3. README.txt