Skip to content
Permalink
Browse files
[CXF-5258] If a type is a collection, keep it as a collection type.
git-svn-id: https://svn.apache.org/repos/asf/cxf/trunk@1543547 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
dkulp committed Nov 19, 2013
1 parent 9c4675b commit 383a0f526200caf397c9d62366348af8f03c0366
Showing 1 changed file with 2 additions and 0 deletions.
@@ -321,6 +321,8 @@ private void generateMessagePart(ClassWriter cw, MessagePartInfo mpi,
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);

0 comments on commit 383a0f5

Please sign in to comment.