From 05b64f7eae23d0ca73d48f89fcc73f0648d3bb46 Mon Sep 17 00:00:00 2001 From: Keith Donald Date: Fri, 31 Jul 2009 04:31:59 +0000 Subject: [PATCH] Fixed failing test due to compiler differences git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1669 50f2f4bb-b051-0410-bef5-90022cba6387 --- .../org/springframework/util/StringKeyedMapAdapterTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/org.springframework.core/src/test/java/org/springframework/util/StringKeyedMapAdapterTests.java b/org.springframework.core/src/test/java/org/springframework/util/StringKeyedMapAdapterTests.java index 13edc718679..bc888f011fb 100644 --- a/org.springframework.core/src/test/java/org/springframework/util/StringKeyedMapAdapterTests.java +++ b/org.springframework.core/src/test/java/org/springframework/util/StringKeyedMapAdapterTests.java @@ -15,13 +15,13 @@ public class StringKeyedMapAdapterTests extends TestCase { private Map contents = new HashMap(); - private StringKeyedMapAdapter map = new StringKeyedMapAdapter() { + private StringKeyedMapAdapter map = new StringKeyedMapAdapter() { protected Object getAttribute(String key) { return contents.get(key); } - protected Iterator getAttributeNames() { + protected Iterator getAttributeNames() { return contents.keySet().iterator(); }