cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1543547 - /cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/WrapperClassGenerator.java
Date Tue, 19 Nov 2013 19:45:23 GMT
Author: dkulp
Date: Tue Nov 19 19:45:22 2013
New Revision: 1543547

URL: http://svn.apache.org/r1543547
Log:
[CXF-5258] If a type is a collection, keep it as a collection type.

Modified:
    cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/WrapperClassGenerator.java

Modified: cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/WrapperClassGenerator.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/WrapperClassGenerator.java?rev=1543547&r1=1543546&r2=1543547&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/WrapperClassGenerator.java
(original)
+++ cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/WrapperClassGenerator.java
Tue Nov 19 19:45:22 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