This is an automated email from the ASF dual-hosted git repository.
clebertsuconic pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/artemis.git
The following commit(s) were added to refs/heads/main by this push:
new 200b7e21b7 NO-JIRA small tweak / remove non sense comment
200b7e21b7 is described below
commit 200b7e21b7c73e2ee653b557b64d840fab76b12d
Author: Clebert Suconic <[email protected]>
AuthorDate: Tue Mar 3 17:33:29 2026 -0500
NO-JIRA small tweak / remove non sense comment
I'm closing the iterator if a separate page iterator is being used.
The comment that was here belong to another version of the code.
The current version now doesn't need any explanation as the variable
name makes it pretty obvious now.
---
.../java/org/apache/activemq/artemis/core/server/impl/QueueImpl.java | 1 -
1 file changed, 1 deletion(-)
diff --git
a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/QueueImpl.java
b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/QueueImpl.java
index c9e48f3b32..98b93070f9 100644
---
a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/QueueImpl.java
+++
b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/QueueImpl.java
@@ -2187,7 +2187,6 @@ public class QueueImpl extends CriticalComponentImpl
implements Queue {
} finally {
if (separatePageIterator) {
- // close the iterator if not allowed to depage
theIterator.close();
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]