activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject [09/10] activemq-artemis git commit: ActiveMQRAStreamMessage writeBytes(..) should trace array contents
Date Thu, 21 May 2015 23:45:41 GMT
ActiveMQRAStreamMessage writeBytes(..) should trace array contents


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/8a09e8f0
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/8a09e8f0
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/8a09e8f0

Branch: refs/heads/master
Commit: 8a09e8f0b5bb0c2d01eadbb9b4d846d658c7a3b4
Parents: 31fd920
Author: Thiago Kronig <caa_tkronig@uolinc.com>
Authored: Fri May 8 20:35:55 2015 -0300
Committer: Clebert Suconic <clebertsuconic@apache.org>
Committed: Thu May 21 19:45:01 2015 -0400

----------------------------------------------------------------------
 .../org/apache/activemq/artemis/ra/ActiveMQRAStreamMessage.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/8a09e8f0/artemis-ra/src/main/java/org/apache/activemq/artemis/ra/ActiveMQRAStreamMessage.java
----------------------------------------------------------------------
diff --git a/artemis-ra/src/main/java/org/apache/activemq/artemis/ra/ActiveMQRAStreamMessage.java
b/artemis-ra/src/main/java/org/apache/activemq/artemis/ra/ActiveMQRAStreamMessage.java
index 7e3d504..5c99b09 100644
--- a/artemis-ra/src/main/java/org/apache/activemq/artemis/ra/ActiveMQRAStreamMessage.java
+++ b/artemis-ra/src/main/java/org/apache/activemq/artemis/ra/ActiveMQRAStreamMessage.java
@@ -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);


Mime
View raw message