Skip to content

Commit bf06d00

Browse files
authored
[4.x] backport bugfix for Parsers #240 SnakeYaml NoClassDefFoundError (#242)
1 parent 6b3f2a4 commit bf06d00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

avaje-config/src/main/java/io/avaje/config/Parsers.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ private void initYamlParser() {
2727
YamlLoader yamlLoader =
2828
modules
2929
.findModule("io.avaje.config")
30-
.map(m -> modules.findModule("org.yaml.snakeyaml").isPresent())
30+
.filter(m -> modules.findModule("org.yaml.snakeyaml").isPresent())
3131
.map(m -> (YamlLoader) new YamlLoaderSnake())
3232
.orElseGet(
3333
() -> {

0 commit comments

Comments
 (0)