From de782026c459d2357ba06b108fd3e2f3e2784924 Mon Sep 17 00:00:00 2001 From: Juergen Hoeller Date: Fri, 10 Nov 2017 20:20:23 +0100 Subject: [PATCH] Explicitly document UriTemplate as thread-safe Issue: SPR-16173 --- .../main/java/org/springframework/web/util/UriTemplate.java | 3 +++ 1 file changed, 3 insertions(+) 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 7b3137d3ba..1cda442eee 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 @@ -36,6 +36,9 @@ import org.springframework.util.Assert; *

See {@link #expand(Map)}, {@link #expand(Object[])}, and {@link #match(String)} * for example usages. * + *

This class is designed to be thread-safe and reusable, allowing for any number + * of expand or match calls. + * * @author Arjen Poutsma * @author Juergen Hoeller * @author Rossen Stoyanchev