Add missing HoconReader#getIntegerValue (#313)

This commit is contained in:
Guillaume Nodet 2023-10-16 15:25:17 +02:00 committed by GitHub
parent 121980470a
commit cd1ef1614c

View File

@ -174,6 +174,10 @@ public class ${className} {
return Boolean.parseBoolean(v.unwrapped().toString());
}
protected int getIntegerValue(ConfigValue v) {
return Integer.parseInt(v.unwrapped().toString());
}
protected ConfigList getList(ConfigValue v) {
if (v instanceof ConfigList) {
return (ConfigList) v;