This is an automated email from the ASF dual-hosted git repository.

gtully pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git


The following commit(s) were added to refs/heads/main by this push:
     new 515ac3a  ARTEMIS-3475: fix recursion and duplicate class name print 
from 2481a784f3ba7648f4b4322335bd3d4061aa4b01
515ac3a is described below

commit 515ac3a7cbf7bfd423b0d4d8128d2c893956b3c5
Author: Robbie Gemmell <[email protected]>
AuthorDate: Fri Sep 17 13:30:01 2021 +0100

    ARTEMIS-3475: fix recursion and duplicate class name print from 
2481a784f3ba7648f4b4322335bd3d4061aa4b01
---
 .../org/apache/activemq/artemis/core/protocol/core/impl/PacketImpl.java | 2 +-
 .../protocol/core/impl/wireformat/ReplicationResponseMessageV2.java     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/protocol/core/impl/PacketImpl.java
 
b/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/protocol/core/impl/PacketImpl.java
index fe82e72..4384445 100644
--- 
a/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/protocol/core/impl/PacketImpl.java
+++ 
b/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/protocol/core/impl/PacketImpl.java
@@ -425,7 +425,7 @@ public class PacketImpl implements Packet {
    }
 
    protected String getPacketString() {
-      return this.getClass().getSimpleName() + "(" + 
this.getClass().getSimpleName() + ")[type=" + type + ", channelID=" + channelID 
+ ", responseAsync=" + isResponseAsync() + ", requiresResponse=" + 
isRequiresResponse() + ", correlationID=" + getCorrelationID();
+      return this.getClass().getSimpleName() + "[type=" + type + ", 
channelID=" + channelID + ", responseAsync=" + isResponseAsync() + ", 
requiresResponse=" + isRequiresResponse() + ", correlationID=" + 
getCorrelationID();
    }
 
    @Override
diff --git 
a/artemis-server/src/main/java/org/apache/activemq/artemis/core/protocol/core/impl/wireformat/ReplicationResponseMessageV2.java
 
b/artemis-server/src/main/java/org/apache/activemq/artemis/core/protocol/core/impl/wireformat/ReplicationResponseMessageV2.java
index 393c328..a953ec6 100644
--- 
a/artemis-server/src/main/java/org/apache/activemq/artemis/core/protocol/core/impl/wireformat/ReplicationResponseMessageV2.java
+++ 
b/artemis-server/src/main/java/org/apache/activemq/artemis/core/protocol/core/impl/wireformat/ReplicationResponseMessageV2.java
@@ -63,7 +63,7 @@ public final class ReplicationResponseMessageV2 extends 
ReplicationResponseMessa
 
    @Override
    protected String getPacketString() {
-      StringBuffer buf = new StringBuffer(getPacketString());
+      StringBuffer buf = new StringBuffer(super.getPacketString());
       buf.append(", synchronizationIsFinishedAcknowledgement=" + 
synchronizationIsFinishedAcknowledgement);
       return buf.toString();
    }

Reply via email to