Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
amita-seal committed Sep 19, 2024
1 parent 7282129 commit 13a03d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/yaml/snakeyaml/Yaml.java
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ public <T> T loadAs(InputStream input, Class<T> type) {
}

private Object loadFromReader(StreamReader sreader, Class<?> type) {
Composer composer = new Composer(new ParserImpl(sreader), resolver, loadingConfig);
Composer composer = new Composer(new ParserImpl(sreader, loadingConfig), resolver, loadingConfig);
constructor.setComposer(composer);
return constructor.getSingleData(type);
}
Expand Down

0 comments on commit 13a03d4

Please sign in to comment.