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-6132] Updating CXFNonSpringJaxrsServlet on 3.0.x to be in sync with the master
Date Wed, 11 Feb 2015 12:23:38 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.0.x-fixes 7aa84abd4 -> c15bc1bba


[CXF-6132] Updating CXFNonSpringJaxrsServlet on 3.0.x to be in sync with the master


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

Branch: refs/heads/3.0.x-fixes
Commit: c15bc1bba2de108dd543365af33a9f4b59a0339e
Parents: 7aa84ab
Author: Sergey Beryozkin <sberyozkin@talend.com>
Authored: Wed Feb 11 12:23:16 2015 +0000
Committer: Sergey Beryozkin <sberyozkin@talend.com>
Committed: Wed Feb 11 12:23:16 2015 +0000

----------------------------------------------------------------------
 .../org/apache/cxf/jaxrs/servlet/CXFNonSpringJaxrsServlet.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/c15bc1bb/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 8329de5..db9ff27 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
@@ -514,7 +514,7 @@ public class CXFNonSpringJaxrsServlet extends CXFNonSpringServlet {
     
     protected boolean isIgnoreApplicationPath(ServletConfig servletConfig) {
         String ignoreParam = servletConfig.getInitParameter(IGNORE_APP_PATH_PARAM);
-        return ignoreParam != null && MessageUtils.isTrue(ignoreParam);
+        return ignoreParam == null || MessageUtils.isTrue(ignoreParam);
     }    
     
     protected void createServerFromApplication(ServletConfig servletConfig) 


Mime
View raw message