提交 2bae0613 编写于 作者: S Sam Brannen

Ensure code compiles with Eclipse JDT

上级 1391248e
......@@ -129,7 +129,8 @@ public class YamlMapFactoryBean extends YamlProcessor implements FactoryBean<Map
Object value = entry.getValue();
Object existing = output.get(key);
if (value instanceof Map && existing instanceof Map) {
Map<String, Object> result = new LinkedHashMap<>((Map) existing);
// Inner cast required by Eclipse IDE.
Map<String, Object> result = new LinkedHashMap<>((Map<String, Object>) existing);
merge(result, (Map) value);
output.put(key, result);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册