jbertram commented on code in PR #5487: URL: https://github.com/apache/activemq-artemis/pull/5487#discussion_r1952035423
########## artemis-core-client/src/main/java/org/apache/activemq/artemis/core/protocol/core/impl/wireformat/SessionSendContinuationMessage.java: ########## @@ -115,7 +115,7 @@ public Message getMessage() { @Override public int expectedEncodeSize() { - return super.expectedEncodeSize() + (!continues ? DataConstants.SIZE_LONG : 0) + DataConstants.SIZE_BOOLEAN; + return super.expectedEncodeSize() + (continues ? 0 : DataConstants.SIZE_LONG) + DataConstants.SIZE_BOOLEAN; Review Comment: Fixed. ########## artemis-commons/src/main/java/org/apache/activemq/artemis/utils/collections/ConcurrentLongHashMap.java: ########## @@ -235,7 +235,7 @@ V get(long key, int keyHash) { if (!acquiredLock && validate(stamp)) { // The values we have read are consistent if (storedKey == key) { - return storedValue != DeletedValue ? storedValue : null; + return storedValue == DeletedValue ? null : storedValue; Review Comment: Fixed. -- 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: gitbox-unsubscr...@activemq.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@activemq.apache.org For additional commands, e-mail: gitbox-h...@activemq.apache.org For further information, visit: https://activemq.apache.org/contact