cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: [CXF-6726] Some non-primitive properties are lost during WADL generation, patch from Pengling Qian applied, This closes #56
Date Fri, 06 Mar 2015 16:27:48 GMT
Repository: cxf
Updated Branches:
  refs/heads/2.7.x-fixes 64145ee06 -> 9496f6aec


[CXF-6726] Some non-primitive properties are lost during WADL generation, patch from Pengling
Qian applied, This closes #56


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/9496f6ae
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/9496f6ae
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/9496f6ae

Branch: refs/heads/2.7.x-fixes
Commit: 9496f6aece73f8c74f8483bc673e30c1e06d939a
Parents: 64145ee
Author: Sergey Beryozkin <sberyozkin@talend.com>
Authored: Fri Mar 6 16:26:59 2015 +0000
Committer: Sergey Beryozkin <sberyozkin@talend.com>
Committed: Fri Mar 6 16:26:59 2015 +0000

----------------------------------------------------------------------
 .../main/java/org/apache/cxf/jaxrs/model/wadl/WadlGenerator.java    | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/9496f6ae/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/model/wadl/WadlGenerator.java
----------------------------------------------------------------------
diff --git a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/model/wadl/WadlGenerator.java
b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/model/wadl/WadlGenerator.java
index 0eee57e..aa00f9e 100644
--- a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/model/wadl/WadlGenerator.java
+++ b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/model/wadl/WadlGenerator.java
@@ -767,6 +767,7 @@ public class WadlGenerator implements RequestHandler {
             } else if (!parentBeanClasses.contains(paramCls)) {
                 parentBeanClasses.add(paramCls);
                 doWriteBeanParam(sb, paramCls, entry.getKey(), name, parentBeanClasses, isJson);
+                parentBeanClasses.remove(paramCls); 
             }
         }
     }


Mime
View raw message