cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r890609 - in /cxf/branches/2.2.x-fixes: ./ maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/WSDL2JavaMojo.java
Date Tue, 15 Dec 2009 02:47:36 GMT
Author: dkulp
Date: Tue Dec 15 02:47:36 2009
New Revision: 890609

URL: http://svn.apache.org/viewvc?rev=890609&view=rev
Log:
Merged revisions 890198 via svnmerge from 
https://svn.apache.org/repos/asf/cxf/trunk

........
  r890198 | bharath | 2009-12-14 02:01:57 -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/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/WSDL2JavaMojo.java

Propchange: cxf/branches/2.2.x-fixes/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.

Modified: cxf/branches/2.2.x-fixes/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/WSDL2JavaMojo.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/WSDL2JavaMojo.java?rev=890609&r1=890608&r2=890609&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/WSDL2JavaMojo.java
(original)
+++ cxf/branches/2.2.x-fixes/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/WSDL2JavaMojo.java
Tue Dec 15 02:47:36 2009
@@ -22,6 +22,7 @@
 import java.io.File;
 import java.net.URI;
 import java.util.ArrayList;
+import java.util.Arrays;
 import java.util.List;
 import java.util.Set;
 
@@ -399,7 +400,7 @@
         List<String> list = wsdlOption.generateCommandLine(outputDirFile, basedir,
wsdlURI, getLog()
             .isDebugEnabled());
         String[] args = (String[])list.toArray(new String[list.size()]);
-        getLog().debug("Calling wsdl2java with args: " + args);
+        getLog().debug("Calling wsdl2java with args: " + Arrays.toString(args));
         try {
             new WSDLToJava(args).run(new ToolContext());
         } catch (Throwable e) {



Mime
View raw message