commit | e38d6ba04bd228eece9e2013ecee133729033025 | [log] [tgz] |
---|---|---|
author | Felix Meschberger <fmeschbe@apache.org> | Mon Dec 05 22:14:50 2011 +0000 |
committer | Felix Meschberger <fmeschbe@apache.org> | Mon Dec 05 22:14:50 2011 +0000 |
tree | 33fd1dea41553e9132494a7e9b96c5e13b0bfe7b | |
parent | 02eee7f6516e15a06f47787c3bc36061f9f3b43b [diff] |
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