cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r1128061 - /cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/impl/RequestPreprocessor.java
Date Thu, 26 May 2011 20:15:11 GMT
Author: sergeyb
Date: Thu May 26 20:15:11 2011
New Revision: 1128061

URL: http://svn.apache.org/viewvc?rev=1128061&view=rev
Log:
Fixing JAXRSJmsTest system test

Modified:
    cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/impl/RequestPreprocessor.java

Modified: cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/impl/RequestPreprocessor.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/impl/RequestPreprocessor.java?rev=1128061&r1=1128060&r2=1128061&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/impl/RequestPreprocessor.java
(original)
+++ cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/impl/RequestPreprocessor.java
Thu May 26 20:15:11 2011
@@ -185,7 +185,7 @@ public class RequestPreprocessor {
             if (baseAddress.equals(requestURI)) {
                 return handleMetadataRequest(m);
             }
-        } else if (originalRequestURI.endsWith(".xsd")) {
+        } else if (originalRequestURI != null && originalRequestURI.endsWith(".xsd"))
{
             // trying WADLGenerator which may be caching schema resources won't
             // interfere with custom schema handlers if any
             return handleMetadataRequest(m);



Mime
View raw message