Fix lp tree max recursion property

This commit is contained in:
Luck 2017-06-26 16:31:30 +01:00
parent 1b199fd2c7
commit fa0b66c2dc
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B

View File

@ -158,7 +158,7 @@ public class TreeView {
List<Map.Entry<String, String>> ret = new ArrayList<>();
for (Map.Entry<Integer, String> s : view.getNodeEndings()) {
if (s.getKey() > maxLevels) {
if (s.getKey() >= maxLevels) {
continue;
}