Fix URI typo in Java code snippet of web-uris.adoc

Closes gh-23739
This commit is contained in:
Drummond Dawson
2019-10-01 09:10:44 -04:00
committed by Sam Brannen
parent d9bb9b55ee
commit b7f819c9e1

View File

@@ -265,7 +265,7 @@ You can shorten it further still with a full URI template, as the following exam
[source,java,indent=0,subs="verbatim,quotes",role="primary"]
.Java
----
RI uri = UriComponentsBuilder.fromPath("/hotel list/{city}?q={q}")
URI uri = UriComponentsBuilder.fromPath("/hotel list/{city}?q={q}")
.build("New York", "foo+bar")
----
[source,kotlin,indent=0,subs="verbatim,quotes",role="secondary"]