cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r1464391 - /cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/RequestDispatcherProvider.java
Date Thu, 04 Apr 2013 09:29:16 GMT
Author: sergeyb
Date: Thu Apr  4 09:29:16 2013
New Revision: 1464391

URL: http://svn.apache.org/r1464391
Log:
[CXF-4944] Getting RequestDispatcherProvider to save attributes with the custom convention

Modified:
    cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/RequestDispatcherProvider.java

Modified: cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/RequestDispatcherProvider.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/RequestDispatcherProvider.java?rev=1464391&r1=1464390&r2=1464391&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/RequestDispatcherProvider.java
(original)
+++ cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/RequestDispatcherProvider.java
Thu Apr  4 09:29:16 2013
@@ -402,10 +402,7 @@ public class RequestDispatcherProvider e
         
         private void doSetParameters(String name, String[] values) {
             if (saveParamsAsAttributes) {
-                if (values.length == 1) {
-                    super.setAttribute(name, values[0]);
-                }
-                super.setAttribute(name + "Array", values);
+                super.setAttribute(name, values);
             } else {
                 params.put(name, values);
             }



Mime
View raw message