Merge pull request #1013 from tokuhirom/patch-1

* pr/1013:
  Fix typo
master
Stephane Nicoll 9 years ago
commit 454165f4c8
  1. 2
      spring-web/src/main/java/org/springframework/web/util/UriTemplate.java

@ -105,7 +105,7 @@ public class UriTemplate implements Serializable {
* <p>Example: * <p>Example:
* <pre class="code"> * <pre class="code">
* UriTemplate template = new UriTemplate("http://example.com/hotels/{hotel}/bookings/{booking}"); * UriTemplate template = new UriTemplate("http://example.com/hotels/{hotel}/bookings/{booking}");
* System.out.println(template.expand("Rest & Relax", "42)); * System.out.println(template.expand("Rest & Relax", 42));
* </pre> * </pre>
* will print: <blockquote>{@code http://example.com/hotels/Rest%20%26%20Relax/bookings/42}</blockquote> * will print: <blockquote>{@code http://example.com/hotels/Rest%20%26%20Relax/bookings/42}</blockquote>
* @param uriVariableValues the array of URI variables * @param uriVariableValues the array of URI variables

Loading…
Cancel
Save