This is an automated email from the ASF dual-hosted git repository. michaelpearce pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git
The following commit(s) were added to refs/heads/master by this push: new 300ba4e NO-JIRA Fix String and SimpleString equals check new a26608d This closes #2502 300ba4e is described below commit 300ba4ecda47c59a1ee2edc3ab6d12280e69cf89 Author: Michael André Pearce <michael.andre.pea...@me.com> AuthorDate: Fri Jan 18 00:24:20 2019 +0000 NO-JIRA Fix String and SimpleString equals check --- .../activemq/artemis/protocol/amqp/converter/CoreAmqpConverter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/converter/CoreAmqpConverter.java b/artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/converter/CoreAmqpConverter.java index 421ea21..3bad75e 100644 --- a/artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/converter/CoreAmqpConverter.java +++ b/artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/converter/CoreAmqpConverter.java @@ -283,11 +283,11 @@ public class CoreAmqpConverter { footerMap.put(name, message.getObjectProperty(key)); continue; } - } else if (key.equals(Message.HDR_GROUP_ID)) { + } else if (key.equals(Message.HDR_GROUP_ID.toString())) { String value = message.getStringProperty(key); properties.setGroupId(value); continue; - } else if (key.equals(Message.HDR_GROUP_SEQUENCE)) { + } else if (key.equals(Message.HDR_GROUP_SEQUENCE.toString())) { int value = message.getIntProperty(key); properties.setGroupSequence(UnsignedInteger.valueOf(value)); continue;