cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject git commit: Updating WADL to Java container to support wildcards for some options
Date Mon, 05 May 2014 17:55:02 GMT
Repository: cxf
Updated Branches:
  refs/heads/2.7.x-fixes c199bc9d4 -> b155272e2


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/b155272e
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/b155272e
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/b155272e

Branch: refs/heads/2.7.x-fixes
Commit: b155272e2089c4a6ff1c034d3d922a00287d1219
Parents: c199bc9
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:52:53 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/b155272e/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