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 3809eb477a4..96d1725d70e 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 83e1ae6a59f..e0bd555ab9a 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`.