mirror of
https://github.com/apache/maven.git
synced 2025-02-22 01:45:37 +00:00
Add missing HoconReader#getIntegerValue (#313)
This commit is contained in:
parent
121980470a
commit
cd1ef1614c
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user