提交 a6330ca6 编写于 作者: K Keith Donald

Fixed failing test due to compiler differences

上级 77b294fe
...@@ -15,13 +15,13 @@ public class StringKeyedMapAdapterTests extends TestCase { ...@@ -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();
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册