Fixed failing test due to compiler differences

master
Keith Donald 15 years ago
parent 77b294fe59
commit a6330ca61e
  1. 4
      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 Map contents = new HashMap();
private StringKeyedMapAdapter map = new StringKeyedMapAdapter() { private StringKeyedMapAdapter<Object> map = new StringKeyedMapAdapter<Object>() {
protected Object getAttribute(String key) { protected Object getAttribute(String key) {
return contents.get(key); return contents.get(key);
} }
protected Iterator getAttributeNames() { protected Iterator<String> getAttributeNames() {
return contents.keySet().iterator(); return contents.keySet().iterator();
} }

Loading…
Cancel
Save