cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r724438 - /cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/interceptor/JAXRSInInterceptor.java
Date Mon, 08 Dec 2008 18:30:18 GMT
Author: sergeyb
Date: Mon Dec  8 10:30:17 2008
New Revision: 724438

URL: http://svn.apache.org/viewvc?rev=724438&view=rev
Log:
JAXRS: fixing AtomClientBookTest

Modified:
    cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/interceptor/JAXRSInInterceptor.java

Modified: cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/interceptor/JAXRSInInterceptor.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/interceptor/JAXRSInInterceptor.java?rev=724438&r1=724437&r2=724438&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/interceptor/JAXRSInInterceptor.java
(original)
+++ cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/interceptor/JAXRSInInterceptor.java
Mon Dec  8 10:30:17 2008
@@ -101,8 +101,6 @@
             return;
         }
         
-        String rawPath = (String)message.get(Message.REQUEST_URI);
-        
         RequestPreprocessor rp = 
             ProviderFactory.getInstance(baseAddress).getRequestPreprocessor();
         if (rp != null) {
@@ -115,6 +113,7 @@
             requestContentType = "*/*";
         }
         
+        String rawPath = (String)message.get(Message.REQUEST_URI);
         rawPath = updatePath(rawPath, baseAddress);
         
         //1. Matching target resource class
@@ -212,8 +211,7 @@
         message.put(URITemplate.TEMPLATE_PARAMETERS, values);
       
         //2. Process parameters
-        List<Object> params = JAXRSUtils
-            .processParameters(ori, values, message);
+        List<Object> params = JAXRSUtils.processParameters(ori, values, message);
 
         message.setContent(List.class, params);
     }



Mime
View raw message