From 920eba79f8e4dce747723662b513d3b0431e2c5b Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Sat, 23 Apr 2016 16:49:04 +0200 Subject: [PATCH] Polish Javadoc for DefaultUriTemplateHandler --- .../web/util/DefaultUriTemplateHandler.java | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/spring-web/src/main/java/org/springframework/web/util/DefaultUriTemplateHandler.java b/spring-web/src/main/java/org/springframework/web/util/DefaultUriTemplateHandler.java index 57492c03f2..90d94713e9 100644 --- a/spring-web/src/main/java/org/springframework/web/util/DefaultUriTemplateHandler.java +++ b/spring-web/src/main/java/org/springframework/web/util/DefaultUriTemplateHandler.java @@ -28,12 +28,13 @@ import org.springframework.util.Assert; /** * Default implementation of {@link UriTemplateHandler} based on the use of - * {@link UriComponentsBuilder} to expand and encode variables. + * {@link UriComponentsBuilder} for expanding and encoding variables. * *

There are also several properties to customize how URI template handling - * that include a {@link #setBaseUrl baseUrl} to be used as a prefix for all URI - * templates and a couple of encoding related options -- {@link #setParsePath - * parsePath} and {@link #setStrictEncoding strictEncoding} respectively. + * is performed, including a {@link #setBaseUrl baseUrl} to be used as a prefix + * for all URI templates and a couple of encoding related options — + * {@link #setParsePath parsePath} and {@link #setStrictEncoding strictEncoding} + * respectively. * * @author Rossen Stoyanchev * @since 4.2 @@ -76,9 +77,9 @@ public class DefaultUriTemplateHandler implements UriTemplateHandler { /** * Configure default URI variable values to use with every expanded URI - * template. This default values apply only when expanding with a Map, and - * not with an array, where the Map supplied to expand can override the - * default values. + * template. These default values apply only when expanding with a Map, and + * not with an array, where the Map supplied to {@link #expand(String, Map)} + * can override the default values. * @param defaultUriVariables the default URI variable values * @since 4.3 */