cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: Reverting a change to CXFNonSpringJaxrsServlet, fixing a test
Date Tue, 27 Jan 2015 11:09:34 GMT
Repository: cxf
Updated Branches:
  refs/heads/master e8b8e2bc1 -> 7cd4cf67b


Reverting a change to CXFNonSpringJaxrsServlet, fixing a test


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

Branch: refs/heads/master
Commit: 7cd4cf67ba5b8a0ddc36c8008bf096b469408f48
Parents: e8b8e2b
Author: Sergey Beryozkin <sberyozkin@talend.com>
Authored: Tue Jan 27 11:09:16 2015 +0000
Committer: Sergey Beryozkin <sberyozkin@talend.com>
Committed: Tue Jan 27 11:09: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/7cd4cf67/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 c3553fd..b9b556d 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
@@ -517,7 +517,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