cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject [1/2] git commit: Updating WADL to Java container to support wildcards for some options
Date Mon, 05 May 2014 17:44:53 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 7ed1cd827 -> 4b2731917


Updating WADL to Java container to support wildcards for some options


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

Branch: refs/heads/master
Commit: 9cb6ef34a44e6c1751e7151a65817d476f980569
Parents: a4c8551
Author: Sergey Beryozkin <sberyozkin@talend.com>
Authored: Mon May 5 18:43:08 2014 +0100
Committer: Sergey Beryozkin <sberyozkin@talend.com>
Committed: Mon May 5 18:43:08 2014 +0100

----------------------------------------------------------------------
 .../java/org/apache/cxf/tools/wadlto/jaxrs/JAXRSContainer.java    | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/9cb6ef34/tools/wadlto/jaxrs/src/main/java/org/apache/cxf/tools/wadlto/jaxrs/JAXRSContainer.java
----------------------------------------------------------------------
diff --git a/tools/wadlto/jaxrs/src/main/java/org/apache/cxf/tools/wadlto/jaxrs/JAXRSContainer.java
b/tools/wadlto/jaxrs/src/main/java/org/apache/cxf/tools/wadlto/jaxrs/JAXRSContainer.java
index 2d91498..c8ab714 100644
--- a/tools/wadlto/jaxrs/src/main/java/org/apache/cxf/tools/wadlto/jaxrs/JAXRSContainer.java
+++ b/tools/wadlto/jaxrs/src/main/java/org/apache/cxf/tools/wadlto/jaxrs/JAXRSContainer.java
@@ -230,6 +230,9 @@ public class JAXRSContainer extends AbstractCXFToolContainer {
                     methods.add(actual.toLowerCase());
                 }
             }
+            if (methods.isEmpty()) {
+                methods.add("*");
+            }
             return methods;
         } else {
             return Collections.emptySet();


Mime
View raw message