From 741fbcd6fe21fb9becf0f7a35110e937e745f3da Mon Sep 17 00:00:00 2001 From: Tokuhiro Matsuno Date: Tue, 22 Mar 2016 13:36:47 +0900 Subject: [PATCH] Fix typo Closes gh-1013 --- .../src/main/java/org/springframework/web/util/UriTemplate.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 43d6094396..659030af11 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 @@ -105,7 +105,7 @@ public class UriTemplate implements Serializable { *

Example: *

      * 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));
      * 
* will print:
{@code http://example.com/hotels/Rest%20%26%20Relax/bookings/42}
* @param uriVariableValues the array of URI variables