You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by gn...@apache.org on 2023/10/16 13:25:23 UTC
[maven-integration-testing] branch master updated: Add missing HoconReader#getIntegerValue (#313)
This is an automated email from the ASF dual-hosted git repository.
gnodet pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-integration-testing.git
The following commit(s) were added to refs/heads/master by this push:
new 43abb8b1d Add missing HoconReader#getIntegerValue (#313)
43abb8b1d is described below
commit 43abb8b1dbbfeb3924e1852214e5e1824f7ff137
Author: Guillaume Nodet <gn...@apache.org>
AuthorDate: Mon Oct 16 15:25:17 2023 +0200
Add missing HoconReader#getIntegerValue (#313)
---
.../maven-hocon-extension/src/mdo/hocon-reader.vm | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/core-it-suite/src/test/resources/mng-7836-alternative-pom-syntax/maven-hocon-extension/src/mdo/hocon-reader.vm b/core-it-suite/src/test/resources/mng-7836-alternative-pom-syntax/maven-hocon-extension/src/mdo/hocon-reader.vm
index 7664db46f..b21925f39 100644
--- a/core-it-suite/src/test/resources/mng-7836-alternative-pom-syntax/maven-hocon-extension/src/mdo/hocon-reader.vm
+++ b/core-it-suite/src/test/resources/mng-7836-alternative-pom-syntax/maven-hocon-extension/src/mdo/hocon-reader.vm
@@ -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;