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:08:56 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.1.x-fixes b7ce0bf1e -> 4b1729c83


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

Branch: refs/heads/3.1.x-fixes
Commit: 4b1729c830f9038ea94e52936aab75a2a3f9f2ab
Parents: b7ce0bf
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:08:43 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/4b1729c8/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 29b4467..61d454b 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
@@ -348,7 +348,7 @@ public class WadlGenerator implements ContainerRequestFilter {
         }
     }
 
-    private String getBaseURI(Message m, UriInfo ui) {
+    protected String getBaseURI(Message m, UriInfo ui) {
         EndpointInfo ei = m.getExchange().getEndpoint().getEndpointInfo();
         String publishedEndpointUrl = (String)ei.getProperty("publishedEndpointUrl");
         if (publishedEndpointUrl == null) {


Mime
View raw message