Update SnakeYAML - see if this helps marker issue

This commit is contained in:
Mike Primm 2019-01-27 14:16:12 -06:00
parent 08226b8602
commit 731b40f680
2 changed files with 2 additions and 1 deletions

View File

@ -5,7 +5,7 @@ dependencies {
compile 'org.eclipse.jetty:jetty-server:8.1.21.v20160908'
compile 'org.eclipse.jetty:jetty-servlet:8.1.21.v20160908'
compile 'com.googlecode.json-simple:json-simple:1.1.1'
compile 'org.yaml:snakeyaml:1.9'
compile 'org.yaml:snakeyaml:1.23'
compile 'com.googlecode.owasp-java-html-sanitizer:owasp-java-html-sanitizer:20180219.1'
}

View File

@ -45,6 +45,7 @@ public class ConfigurationNode implements Map<String, Object> {
options.setIndent(4);
options.setDefaultFlowStyle(DumperOptions.FlowStyle.BLOCK);
options.setPrettyFlow(true);
options.setVersion(DumperOptions.Version.V1_1);
yaml = new Yaml(new SafeConstructor(), new EmptyNullRepresenter(), options);
}