Author: dkulp
Date: Tue Dec 15 02:46:29 2009
New Revision: 890608
URL: http://svn.apache.org/viewvc?rev=890608&view=rev
Log:
Merged revisions 890197 via svnmerge from
https://svn.apache.org/repos/asf/cxf/trunk
........
r890197 | bharath | 2009-12-14 01:56:22 -0500 (Mon, 14 Dec 2009) | 3 lines
@Bug: CXF-2581
@Desc During logging, we invoke toString on an array, which will generate
junk result. Fixed this by invoking Arrays.toString to convert the array into a
readable String that gives the contents of the array.
@Test Units Tests
........
Modified:
cxf/branches/2.2.x-fixes/ (props changed)
cxf/branches/2.2.x-fixes/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/soap/RetransmissionQueueImpl.java
Propchange: cxf/branches/2.2.x-fixes/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.
Modified:
cxf/branches/2.2.x-fixes/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/soap/RetransmissionQueueImpl.java
URL:
http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/soap/RetransmissionQueueImpl.java?rev=890608&r1=890607&r2=890608&view=diff
==============================================================================
---
cxf/branches/2.2.x-fixes/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/soap/RetransmissionQueueImpl.java
(original)
+++
cxf/branches/2.2.x-fixes/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/soap/RetransmissionQueueImpl.java
Tue Dec 15 02:46:29 2009
@@ -24,6 +24,7 @@
import java.io.OutputStream;
import java.math.BigInteger;
import java.util.ArrayList;
+import java.util.Arrays;
import java.util.Collection;
import java.util.Date;
import java.util.HashMap;
@@ -335,7 +336,7 @@
if (null == content) {
content = message.getContent(byte[].class);
if (LOG.isLoggable(Level.FINE)) {
- LOG.fine("Using saved byte array: " + content);
+ LOG.fine("Using saved byte array: " +
Arrays.toString(content));
}
} else {
if (LOG.isLoggable(Level.FINE)) {