From 21b4526063f15aa3eedd407291bca12e3cd10303 Mon Sep 17 00:00:00 2001 From: Juergen Hoeller Date: Wed, 31 Mar 2010 13:37:46 +0000 Subject: [PATCH] accept UrlMap with any value type --- .../web/servlet/handler/SimpleUrlHandlerMapping.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/handler/SimpleUrlHandlerMapping.java b/org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/handler/SimpleUrlHandlerMapping.java index 97546525a2..383c6d20e5 100644 --- a/org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/handler/SimpleUrlHandlerMapping.java +++ b/org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/handler/SimpleUrlHandlerMapping.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2008 the original author or authors. + * Copyright 2002-2010 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -78,7 +78,7 @@ public class SimpleUrlHandlerMapping extends AbstractUrlHandlerMapping { * @param urlMap map with URLs as keys and beans as values * @see #setMappings */ - public void setUrlMap(Map urlMap) { + public void setUrlMap(Map urlMap) { this.urlMap.putAll(urlMap); } @@ -89,7 +89,7 @@ public class SimpleUrlHandlerMapping extends AbstractUrlHandlerMapping { * This is particularly useful for adding or overriding entries in child * bean definitions. */ - public Map getUrlMap() { + public Map getUrlMap() { return this.urlMap; }