cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1543554 - /cxf/branches/2.7.x-fixes/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/WrapperClassGenerator.java
Date Tue, 19 Nov 2013 20:08:37 GMT
Author: dkulp
Date: Tue Nov 19 20:08:36 2013
New Revision: 1543554

URL: http://svn.apache.org/r1543554
Log:
Merged revisions 1543547 via  git cherry-pick from
https://svn.apache.org/repos/asf/cxf/trunk

........
  r1543547 | dkulp | 2013-11-19 14:45:22 -0500 (Tue, 19 Nov 2013) | 2 lines

  [CXF-5258] If a type is a collection, keep it as a collection type.

........

Modified:
    cxf/branches/2.7.x-fixes/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/WrapperClassGenerator.java

Modified: cxf/branches/2.7.x-fixes/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/WrapperClassGenerator.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.7.x-fixes/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/WrapperClassGenerator.java?rev=1543554&r1=1543553&r2=1543554&view=diff
==============================================================================
--- cxf/branches/2.7.x-fixes/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/WrapperClassGenerator.java
(original)
+++ cxf/branches/2.7.x-fixes/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/WrapperClassGenerator.java
Tue Nov 19 20:08:36 2013
@@ -321,6 +321,8 @@ public final class WrapperClassGenerator
                         fieldDescriptor = getClassCode(genericType);
                     } else if (types[0] instanceof GenericArrayType) {
                         fieldDescriptor = getClassCode(genericType);
+                    } else if (Collection.class.isAssignableFrom(clz)) {
+                        fieldDescriptor = getClassCode(genericType);
                     } else if (types[0] instanceof ParameterizedType) {
                         classCode = getClassCode(((ParameterizedType)types[0]).getRawType());
                         fieldDescriptor = getClassCode(genericType);



Mime
View raw message