Author: dkulp Date: Tue Dec 15 03:09:23 2009 New Revision: 890619 URL: http://svn.apache.org/viewvc?rev=890619&view=rev Log: Merged revisions 890608 via svnmerge from https://svn.apache.org/repos/asf/cxf/branches/2.2.x-fixes
................ r890608 | dkulp | 2009-12-14 21:46:29 -0500 (Mon, 14 Dec 2009) | 11 lines 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.1.x-fixes/ (props changed) cxf/branches/2.1.x-fixes/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/soap/RetransmissionQueueImpl.java Propchange: cxf/branches/2.1.x-fixes/ ------------------------------------------------------------------------------ Binary property 'svnmerge-integrated' - no diff available. Modified: cxf/branches/2.1.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.1.x-fixes/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/soap/RetransmissionQueueImpl.java?rev=890619&r1=890618&r2=890619&view=diff ============================================================================== --- cxf/branches/2.1.x-fixes/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/soap/RetransmissionQueueImpl.java (original) +++ cxf/branches/2.1.x-fixes/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/soap/RetransmissionQueueImpl.java Tue Dec 15 03:09:23 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)) {
