clebertsuconic commented on code in PR #4260:
URL: https://github.com/apache/activemq-artemis/pull/4260#discussion_r998308010
##########
artemis-server/src/main/java/org/apache/activemq/artemis/core/paging/cursor/impl/PageSubscriptionImpl.java:
##########
@@ -1460,23 +1473,47 @@ private PagedReference moveNext() {
private PagedReference internalGetNext() {
for (;;) {
+ if (logger.isDebugEnabled() && currentPageIterator == null) {
Review Comment:
I replaced it by an assertion...
I had a System.out.println() that I decided to keep it as a logger.....(I
had an issue as I was developing).
Reading it back after done now, an assert would make more sense.
--
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]