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-6671] Renaming the method accepting ApplicationInfo to prevent Spring from being confused
Date Thu, 12 Nov 2015 22:00:06 GMT
Repository: cxf
Updated Branches:
  refs/heads/master f1b56150d -> bf52c1759


[CXF-6671] Renaming the method accepting ApplicationInfo to prevent Spring from being confused


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

Branch: refs/heads/master
Commit: bf52c1759e492831ca076bb9c28b9a49da7de829
Parents: f1b5615
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Thu Nov 12 21:59:48 2015 +0000
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Thu Nov 12 21:59:48 2015 +0000

----------------------------------------------------------------------
 .../main/java/org/apache/cxf/jaxrs/JAXRSServerFactoryBean.java   | 4 ++--
 .../org/apache/cxf/jaxrs/servlet/CXFNonSpringJaxrsServlet.java   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/bf52c175/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/JAXRSServerFactoryBean.java
----------------------------------------------------------------------
diff --git a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/JAXRSServerFactoryBean.java
b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/JAXRSServerFactoryBean.java
index 1c35647..d4e53ac 100644
--- a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/JAXRSServerFactoryBean.java
+++ b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/JAXRSServerFactoryBean.java
@@ -97,10 +97,10 @@ public class JAXRSServerFactoryBean extends AbstractJAXRSFactoryBean {
      * @param app
      */
     public void setApplication(Application app) {
-        setApplication(new ApplicationInfo(app, getBus()));
+        setApplicationInfo(new ApplicationInfo(app, getBus()));
     }
     
-    public void setApplication(ApplicationInfo provider) {
+    public void setApplicationInfo(ApplicationInfo provider) {
         appProvider = provider;
         Set<String> appNameBindings = AnnotationUtils.getNameBindings(provider.getProvider()
                                                                       .getClass().getAnnotations());

http://git-wip-us.apache.org/repos/asf/cxf/blob/bf52c175/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/servlet/CXFNonSpringJaxrsServlet.java
----------------------------------------------------------------------
diff --git a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/servlet/CXFNonSpringJaxrsServlet.java
b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/servlet/CXFNonSpringJaxrsServlet.java
index 0f7f3e1..8332ab8 100644
--- a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/servlet/CXFNonSpringJaxrsServlet.java
+++ b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/servlet/CXFNonSpringJaxrsServlet.java
@@ -510,7 +510,7 @@ public class CXFNonSpringJaxrsServlet extends CXFNonSpringServlet {
             setDocLocation(bean, servletConfig);
             setSchemasLocations(bean, servletConfig);
             bean.setBus(getBus());
-            bean.setApplication(providerApp);
+            bean.setApplicationInfo(providerApp);
             bean.create();
         }
     }


Mime
View raw message