Skip to content

Commit 2c8a6bb

Browse files
committed
Explicitly document UriTemplate as thread-safe
Issue: SPR-16173 (cherry picked from commit de78202)
1 parent 5800c7a commit 2c8a6bb

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

spring-web/src/main/java/org/springframework/web/util/UriTemplate.java

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2016 the original author or authors.
2+
* Copyright 2002-2017 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -30,16 +30,18 @@
3030

3131
/**
3232
* Represents a URI template. A URI template is a URI-like String that contains variables
33-
* enclosed by braces ({@code {}}), which can be expanded to produce an actual URI.
33+
* enclosed by braces ({@code {}}) which can be expanded to produce an actual URI.
3434
*
3535
* <p>See {@link #expand(Map)}, {@link #expand(Object[])}, and {@link #match(String)}
3636
* for example usages.
3737
*
38+
* <p>This class is designed to be thread-safe and reusable, allowing for any number
39+
* of expand or match calls.
40+
*
3841
* @author Arjen Poutsma
3942
* @author Juergen Hoeller
4043
* @author Rossen Stoyanchev
4144
* @since 3.0
42-
* @see <a href="http://bitworking.org/projects/URI-Templates/">URI Templates</a>
4345
*/
4446
@SuppressWarnings("serial")
4547
public class UriTemplate implements Serializable {

0 commit comments

Comments
 (0)