Java 5 code style

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@324 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
Juergen Hoeller
2008-11-21 00:04:10 +00:00
parent 3a2cc21084
commit 2e4373ab32
17 changed files with 217 additions and 303 deletions
@@ -27,11 +27,11 @@ import junit.framework.TestCase;
public class WebUtilsTests extends TestCase {
public void testFindParameterValue() {
Map<String, String> params = new HashMap<String, String>();
Map<String, Object> params = new HashMap<String, Object>();
params.put("myKey1", "myValue1");
params.put("myKey2_myValue2", "xxx");
params.put("myKey3_myValue3.x", "xxx");
params.put("myKey4_myValue4.y", "yyy");
params.put("myKey4_myValue4.y", new String[] {"yyy"});
assertNull(WebUtils.findParameterValue(params, "myKey0"));
assertEquals("myValue1", WebUtils.findParameterValue(params, "myKey1"));