ARTEMIS-2787 - Fix equals method

This commit is contained in:
Michael Pearce 2020-06-09 10:30:09 +01:00 committed by Clebert Suconic
parent b0d896df4d
commit 52252be948
1 changed files with 3 additions and 3 deletions

View File

@ -501,10 +501,10 @@ public class SessionQueueQueryResponseMessage_V3 extends SessionQueueQueryRespon
return false;
} else if (!ringSize.equals(other.ringSize))
return false;
if (enabled == enabled) {
if (other.ringSize != null)
if (enabled == null) {
if (other.enabled != null)
return false;
} else if (!enabled.equals(other.ringSize))
} else if (!enabled.equals(other.enabled))
return false;
if (defaultConsumerWindowSize == null) {
if (other.defaultConsumerWindowSize != null)