[
https://issues.apache.org/jira/browse/SLING-4343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14287658#comment-14287658
]
Axel Hanikel commented on SLING-4343:
-------------------------------------
The following seems to fix it:
{code}
@@ -304,6 +304,7 @@ public class JcrResourceProvider
throw new NoSuchElementException();
}
final ValueMap result = next;
+ next = null;
seek();
return result;
}
{code}
> Iterator from JcrResourceProvider.queryResources() keeps returning same value
> on next()
> ---------------------------------------------------------------------------------------
>
> Key: SLING-4343
> URL: https://issues.apache.org/jira/browse/SLING-4343
> Project: Sling
> Issue Type: Bug
> Components: JCR
> Reporter: Axel Hanikel
>
> The iterator returned from {{JcrResourceProvider.queryResources()}} always
> returns the same value on next().
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)