reschke commented on code in PR #119:
URL:
https://github.com/apache/sling-org-apache-sling-resourceresolver/pull/119#discussion_r1684170410
##########
src/main/java/org/apache/sling/resourceresolver/impl/mapping/MapEntries.java:
##########
@@ -1389,6 +1419,16 @@ public Resource next() throws NoSuchElementException {
next = null;
return result;
}
+
+ public String getStatistics() {
+ String result = String.format(" (max. page size: %d, number of
pages: %d)", largestPage, page);
+ if (largestKeyCount > pageSize * 10) {
Review Comment:
That would make unit testing harder (where I use smaller page sizes).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]