ActiveMQRAStreamMessage writeBytes(..) should trace array contents

This commit is contained in:
Thiago Kronig 2015-05-08 20:35:55 -03:00 committed by Clebert Suconic
parent 31fd920e95
commit 8a09e8f0b5
1 changed files with 2 additions and 2 deletions

View File

@ -266,7 +266,7 @@ public class ActiveMQRAStreamMessage extends ActiveMQRAMessage implements Stream
{
if (ActiveMQRAStreamMessage.trace)
{
ActiveMQRALogger.LOGGER.trace("writeBytes(" + value + ", " + offset + ", " + length + ")");
ActiveMQRALogger.LOGGER.trace("writeBytes(" + Arrays.toString(value) + ", " + offset + ", " + length + ")");
}
((StreamMessage)message).writeBytes(value, offset, length);
@ -281,7 +281,7 @@ public class ActiveMQRAStreamMessage extends ActiveMQRAMessage implements Stream
{
if (ActiveMQRAStreamMessage.trace)
{
ActiveMQRALogger.LOGGER.trace("writeBytes(" + value + ")");
ActiveMQRALogger.LOGGER.trace("writeBytes(" + Arrays.toString(value) + ")");
}
((StreamMessage)message).writeBytes(value);