From 525f30ad5e9bac3ed5e55b577ce779c0d021db1d Mon Sep 17 00:00:00 2001 From: Rossen Stoyanchev Date: Mon, 27 Mar 2017 15:49:20 -0400 Subject: [PATCH] Remove dated references on URI template RFC --- .../main/java/org/springframework/web/util/UriTemplate.java | 3 +-- src/asciidoc/web-mvc.adoc | 4 +--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/spring-web/src/main/java/org/springframework/web/util/UriTemplate.java b/spring-web/src/main/java/org/springframework/web/util/UriTemplate.java index 3809eb477a..96d1725d70 100644 --- a/spring-web/src/main/java/org/springframework/web/util/UriTemplate.java +++ b/spring-web/src/main/java/org/springframework/web/util/UriTemplate.java @@ -30,7 +30,7 @@ import org.springframework.util.Assert; /** * Represents a URI template. A URI template is a URI-like String that contains variables - * enclosed by braces ({@code {}}), which can be expanded to produce an actual URI. + * enclosed by braces ({@code {}}) which can be expanded to produce an actual URI. * *

See {@link #expand(Map)}, {@link #expand(Object[])}, and {@link #match(String)} * for example usages. @@ -39,7 +39,6 @@ import org.springframework.util.Assert; * @author Juergen Hoeller * @author Rossen Stoyanchev * @since 3.0 - * @see URI Templates */ @SuppressWarnings("serial") public class UriTemplate implements Serializable { diff --git a/src/asciidoc/web-mvc.adoc b/src/asciidoc/web-mvc.adoc index 83e1ae6a59..e0bd555ab9 100644 --- a/src/asciidoc/web-mvc.adoc +++ b/src/asciidoc/web-mvc.adoc @@ -771,9 +771,7 @@ __URI templates__ can be used for convenient access to selected parts of a URL i `@RequestMapping` method. A URI Template is a URI-like string, containing one or more variable names. When you -substitute values for these variables, the template becomes a URI. The -http://bitworking.org/projects/URI-Templates/[proposed RFC] for URI Templates defines -how a URI is parameterized. For example, the URI Template +substitute values for these variables, the template becomes a URI. For example `http://www.example.com/users/{userId}` contains the variable __userId__. Assigning the value __fred__ to the variable yields `http://www.example.com/users/fred`.