ARTEMIS-3475: fix recursion and duplicate class name print from 2481a784f3

This commit is contained in:
Robbie Gemmell 2021-09-17 13:30:01 +01:00 committed by Gary Tully
parent ac419080d0
commit 515ac3a7cb
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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();
}