make SimpleConfigList.get return an AbstractConfigValue

preserve the detailed type that we know for the subclass
This commit is contained in:
Havoc Pennington 2011-11-28 01:13:18 -05:00
parent dd16b29fbc
commit 6692dba893

View File

@ -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);
}