NO-JIRA small tweak on comment

This commit is contained in:
Clebert Suconic 2022-09-30 11:03:56 -04:00
parent c01833aa3f
commit 9647e6555f
1 changed files with 1 additions and 1 deletions

View File

@ -743,7 +743,7 @@ public final class ReplicationManager implements ActiveMQComponent {
try { try {
try (FileInputStream fis = new FileInputStream(file.getJavaFile()); FileChannel channel = fis.getChannel()) { 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 // because sendReplicatePacket will encode the packet as a NettyBuffer
// through ActiveMQBuffer class leaving this buffer free to be reused on the next copy // through ActiveMQBuffer class leaving this buffer free to be reused on the next copy
while (true) { while (true) {