Fix Javadoc in UriComponentsBuilder

This commit is contained in:
Ryan Pickett 2017-02-02 17:46:21 +00:00 committed by Rossen Stoyanchev
parent 1466c82f53
commit 654e14a86a
1 changed files with 2 additions and 2 deletions

View File

@ -239,8 +239,8 @@ public class UriComponentsBuilder implements UriBuilder, Cloneable {
* be parsed unambiguously. Such values should be substituted for URI
* variables to enable correct parsing:
* <pre class="code">
* String uriString = &quot;/hotels/42?filter={value}&quot;;
* UriComponentsBuilder.fromUriString(uriString).buildAndExpand(&quot;hot&amp;cold&quot;);
* String urlString = &quot;https://example.com/hotels/42?filter={value}&quot;;
* UriComponentsBuilder.fromHttpUrl(urlString).buildAndExpand(&quot;hot&amp;cold&quot;);
* </pre>
* @param httpUrl the source URI
* @return the URI components of the URI