cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r1454357 - /cxf/trunk/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/WebClient.java
Date Fri, 08 Mar 2013 12:55:02 GMT
Author: sergeyb
Date: Fri Mar  8 12:55:02 2013
New Revision: 1454357

URL: http://svn.apache.org/r1454357
Log:
Reverting r1454352

Modified:
    cxf/trunk/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/WebClient.java

Modified: cxf/trunk/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/WebClient.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/WebClient.java?rev=1454357&r1=1454356&r2=1454357&view=diff
==============================================================================
--- cxf/trunk/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/WebClient.java (original)
+++ cxf/trunk/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/WebClient.java Fri Mar
 8 12:55:02 2013
@@ -1023,12 +1023,7 @@ public class WebClient extends AbstractC
         if (body != null) {
             m.getInterceptorChain().add(new BodyWriter());
         }
-        String uriString = uri.toString();
-        int questionMarkIndex = uriString.lastIndexOf("?");
-        if (questionMarkIndex != -1) {
-            uriString = uriString.replace("?", "\\?");
-        }
-        setPlainOperationNameProperty(m, httpMethod + ":" + uriString);
+        setPlainOperationNameProperty(m, httpMethod + ":" + uri.toString());
         return m;
     }
     



Mime
View raw message