geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ke...@apache.org
Subject svn commit: r1335783 - /geronimo/specs/trunk/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/UriBuilder.java
Date Tue, 08 May 2012 21:43:15 GMT
Author: kevan
Date: Tue May  8 21:43:14 2012
New Revision: 1335783

URL: http://svn.apache.org/viewvc?rev=1335783&view=rev
Log:
Fix UriBuilder.fromPath(). This needs to be tested with Wink. Thanks to Romain Manni-Bucau
for the patch

Modified:
    geronimo/specs/trunk/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/UriBuilder.java

Modified: geronimo/specs/trunk/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/UriBuilder.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/UriBuilder.java?rev=1335783&r1=1335782&r2=1335783&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/UriBuilder.java
(original)
+++ geronimo/specs/trunk/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/UriBuilder.java
Tue May  8 21:43:14 2012
@@ -32,7 +32,7 @@ public abstract class UriBuilder {
     }
 
     public static UriBuilder fromPath(String value) {
-        return newInstance().replacePath(value);
+        return newInstance().path(value);
     }
 
     public static UriBuilder fromResource(Class<?> resourceClass) {



Mime
View raw message