Skip to content

Commit

Permalink
NO-JIRA Remove unnecessary cast from byte[] to byte[]
Browse files Browse the repository at this point in the history
  • Loading branch information
sebthom authored and gtully committed Mar 23, 2021
1 parent d71d54b commit 28c7d95
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -300,7 +300,7 @@ private void route(final Message message,
/* This is a special treatment for scaled-down messages involving SnF queues.
* See org.apache.activemq.artemis.core.server.impl.ScaleDownHandler.scaleDownMessages() for the logic that sends messages with this property
*/
byte[] ids = (byte[]) message.removeExtraBytesProperty(Message.HDR_SCALEDOWN_TO_IDS);
byte[] ids = message.removeExtraBytesProperty(Message.HDR_SCALEDOWN_TO_IDS);

if (ids != null) {
ByteBuffer buffer = ByteBuffer.wrap(ids);
Expand Down

0 comments on commit 28c7d95

Please sign in to comment.