From b7f819c9e10fe0c30d599e6cb0f396c65bb3272a Mon Sep 17 00:00:00 2001 From: Drummond Dawson Date: Tue, 1 Oct 2019 09:10:44 -0400 Subject: [PATCH] Fix URI typo in Java code snippet of web-uris.adoc Closes gh-23739 --- src/docs/asciidoc/web/web-uris.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/docs/asciidoc/web/web-uris.adoc b/src/docs/asciidoc/web/web-uris.adoc index 155c9ed1f45..58f002a95db 100644 --- a/src/docs/asciidoc/web/web-uris.adoc +++ b/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 [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"]