Github user michaelandrepearce commented on a diff in the pull request:

    https://github.com/apache/activemq-artemis/pull/2427#discussion_r233491363
  
    --- Diff: 
artemis-core-client/src/main/java/org/apache/activemq/artemis/core/message/impl/CoreMessage.java
 ---
    @@ -1070,26 +1102,22 @@ public CoreMessage putObjectProperty(final String 
key, final Object value) throw
     
        @Override
        public Short getShortProperty(final SimpleString key) throws 
ActiveMQPropertyConversionException {
    -      checkProperties();
    -      return properties.getShortProperty(key);
    +      return checkProperties().getShortProperty(key);
        }
     
        @Override
        public Short getShortProperty(final String key) throws 
ActiveMQPropertyConversionException {
    -      checkProperties();
    -      return properties.getShortProperty(SimpleString.toSimpleString(key, 
getPropertyKeysPool()));
    +      return 
checkProperties().getShortProperty(SimpleString.toSimpleString(key, 
getPropertyKeysPool()));
    --- End diff --
    
    delegate to 
       public Short getShortProperty(final SimpleString key) throws 
ActiveMQPropertyConversionException {



---

Reply via email to