NO-JIRA Remove unnecessary cast from byte[] to byte[]

This commit is contained in:
Sebastian Thomschke 2021-03-18 19:18:30 +01:00 committed by Gary Tully
parent d71d54b38a
commit 28c7d95367
1 changed files with 1 additions and 1 deletions

View File

@ -300,7 +300,7 @@ public final class BindingsImpl implements Bindings {
/* 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);