Hi Michael, your toNodeMap method has a bug. In line 54 you're adding the child node but you're not using the node that is returned.
Regards Dennis Am 13.07.2016 um 20:43 schrieb Michael Fortin: > Hi, I was trying to setup commons configuration to use YAML as it’s > configuration file format. > > I found this example using commons 1.*: > https://github.com/PEXPlugins/PermissionsEx/blob/5da1c1410f134e2c8e39fbc93dc1c7d5e3456335/src/main/java/ru/tehkode/utils/config/YamlFileConfiguration.java > > <https://github.com/PEXPlugins/PermissionsEx/blob/5da1c1410f134e2c8e39fbc93dc1c7d5e3456335/src/main/java/ru/tehkode/utils/config/YamlFileConfiguration.java> > > And I was also looking at source of the XMLConfiguration as a guide: > https://commons.apache.org/proper/commons-configuration/apidocs/org/apache/commons/configuration2/XMLConfiguration.html > > <https://commons.apache.org/proper/commons-configuration/apidocs/org/apache/commons/configuration2/XMLConfiguration.html> > > This is what I have so far: > https://github.com/m410/commons-configuration-yaml/blob/master/src/main/java/org/m410/config/YamlConfiguration.java > > <https://github.com/m410/commons-configuration-yaml/blob/master/src/main/java/org/m410/config/YamlConfiguration.java> > > The test runs but doesn’t pass. Could someone give me some guidance as to > what I’m doing wrong? > > thanks much, > Michael --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
