From 9647e6555f71fa36140f1c8f29132415777c3863 Mon Sep 17 00:00:00 2001 From: Clebert Suconic Date: Fri, 30 Sep 2022 11:03:56 -0400 Subject: [PATCH] NO-JIRA small tweak on comment --- .../activemq/artemis/core/replication/ReplicationManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artemis-server/src/main/java/org/apache/activemq/artemis/core/replication/ReplicationManager.java b/artemis-server/src/main/java/org/apache/activemq/artemis/core/replication/ReplicationManager.java index 79450a18dd..34f4b3a961 100644 --- a/artemis-server/src/main/java/org/apache/activemq/artemis/core/replication/ReplicationManager.java +++ b/artemis-server/src/main/java/org/apache/activemq/artemis/core/replication/ReplicationManager.java @@ -743,7 +743,7 @@ public final class ReplicationManager implements ActiveMQComponent { try { try (FileInputStream fis = new FileInputStream(file.getJavaFile()); FileChannel channel = fis.getChannel()) { - // We can afford having a single buffer here for this entire loop + // We cannot afford having a single buffer here for this entire loop // because sendReplicatePacket will encode the packet as a NettyBuffer // through ActiveMQBuffer class leaving this buffer free to be reused on the next copy while (true) {