Browse Source

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

Closes gh-23739
pull/23753/head
Drummond Dawson 6 years ago committed by Sam Brannen
parent
commit
b7f819c9e1
  1. 2
      src/docs/asciidoc/web/web-uris.adoc

2
src/docs/asciidoc/web/web-uris.adoc

@ -265,7 +265,7 @@ You can shorten it further still with a full URI template, as the following exam @@ -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"]

Loading…
Cancel
Save