Fixed failing test due to compiler differences
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1669 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
parent
a41be3b1d5
commit
05b64f7eae
|
|
@ -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…
Reference in New Issue