jbertram commented on code in PR #4302:
URL: https://github.com/apache/activemq-artemis/pull/4302#discussion_r1046728006
##########
artemis-protocols/artemis-openwire-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/openwire/OpenWireMessageConverter.java:
##########
@@ -927,6 +932,10 @@ private static void setAMQMsgObjectProperties(final
ActiveMQMessage amqMsg,
final Set<SimpleString>
props) throws IOException {
for (SimpleString s : props) {
final String keyStr = s.toString();
+ if (keyStr.length() == 0) {
Review Comment:
Apparently whitespace is legal. I tested it and it passed without any
exception.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]