Skip to content

Commit

Permalink
Add missing HoconReader#getIntegerValue (#313)
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet authored Oct 16, 2023
1 parent 75648bf commit 43abb8b
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 43abb8b

Please sign in to comment.