修复无法获取配置

This commit is contained in:
zhouhao 2020-03-18 23:35:02 +08:00
parent f8246f25d4
commit 46ffff7ee0
1 changed files with 1 additions and 11 deletions

View File

@ -81,16 +81,6 @@ public interface ValueObject {
}
static ValueObject of(Map<String, Object> mapVal) {
return new ValueObject() {
@Override
public Optional<Object> get(String name) {
return Optional.empty();
}
@Override
public Map<String, Object> getAll() {
return mapVal;
}
};
return () -> mapVal;
}
}