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-6790] Making WADLGenerator getBaseUri protected
Date Mon, 22 Feb 2016 11:11:12 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.0.x-fixes 6b2511e8b -> e37a80686


[CXF-6790] Making WADLGenerator getBaseUri protected


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

Branch: refs/heads/3.0.x-fixes
Commit: e37a8068666be4a61b43c1d9b960dbefed0d33e6
Parents: 6b2511e
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Mon Feb 22 11:08:01 2016 +0000
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Mon Feb 22 11:10:57 2016 +0000

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


http://git-wip-us.apache.org/repos/asf/cxf/blob/e37a8068/rt/rs/description/src/main/java/org/apache/cxf/jaxrs/model/wadl/WadlGenerator.java
----------------------------------------------------------------------
diff --git a/rt/rs/description/src/main/java/org/apache/cxf/jaxrs/model/wadl/WadlGenerator.java
b/rt/rs/description/src/main/java/org/apache/cxf/jaxrs/model/wadl/WadlGenerator.java
index b43d793..b9259fd 100644
--- a/rt/rs/description/src/main/java/org/apache/cxf/jaxrs/model/wadl/WadlGenerator.java
+++ b/rt/rs/description/src/main/java/org/apache/cxf/jaxrs/model/wadl/WadlGenerator.java
@@ -349,7 +349,7 @@ public class WadlGenerator implements ContainerRequestFilter {
         }
     }
 
-    private String getBaseURI(Message m, UriInfo ui) {
+    protected String getBaseURI(Message m, UriInfo ui) {
         EndpointInfo ei = m.getExchange().get(Endpoint.class).getEndpointInfo();
         String publishedEndpointUrl = (String)ei.getProperty("publishedEndpointUrl");
         if (publishedEndpointUrl == null) {


Mime
View raw message