You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by se...@apache.org on 2012/06/25 01:31:20 UTC
svn commit: r1353361 -
/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/utils/URIUtils.java
Author: sebb
Date: Sun Jun 24 23:31:19 2012
New Revision: 1353361
URL: http://svn.apache.org/viewvc?rev=1353361&view=rev
Log:
Javadoc
Modified:
httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/utils/URIUtils.java
Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/utils/URIUtils.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/utils/URIUtils.java?rev=1353361&r1=1353360&r2=1353361&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/utils/URIUtils.java (original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/utils/URIUtils.java Sun Jun 24 23:31:19 2012
@@ -176,9 +176,9 @@ public class URIUtils {
}
/**
- * A convenience method that creates a new {@link URI} whose scheme, host, port ,path,
- * query are taken from the existing URI if it contains a fragment. The existing URI
- * is returned unmodified if it has no fragment.
+ * A convenience method that creates a new {@link URI} whose scheme, host, port, path,
+ * query are taken from the existing URI, dropping any fragment or user-information.
+ * The existing URI is returned unmodified if it has no fragment or user-information.
*
* @param uri
* original URI.