mirror of
https://github.com/lightbend/config.git
synced 2025-01-29 05:30:08 +08:00
make SimpleConfigList.get return an AbstractConfigValue
preserve the detailed type that we know for the subclass
This commit is contained in:
parent
dd16b29fbc
commit
6692dba893
@ -173,7 +173,7 @@ final class SimpleConfigList extends AbstractConfigValue implements ConfigList {
|
||||
}
|
||||
|
||||
@Override
|
||||
public ConfigValue get(int index) {
|
||||
public AbstractConfigValue get(int index) {
|
||||
return value.get(index);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user