mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Upgrade to SnakeYAML 1.33
Closes gh-32522
This commit is contained in:
parent
243075d3b2
commit
bf5bd4f91c
@ -1382,7 +1382,7 @@ bom {
|
||||
]
|
||||
}
|
||||
}
|
||||
library("SnakeYAML", "1.32") {
|
||||
library("SnakeYAML", "1.33") {
|
||||
group("org.yaml") {
|
||||
modules = [
|
||||
"snakeyaml"
|
||||
|
@ -73,8 +73,8 @@ class OriginTrackedYamlLoader extends YamlProcessor {
|
||||
|
||||
private Yaml createYaml(LoaderOptions loaderOptions) {
|
||||
BaseConstructor constructor = new OriginTrackingConstructor(loaderOptions);
|
||||
Representer representer = new Representer();
|
||||
DumperOptions dumperOptions = new DumperOptions();
|
||||
Representer representer = new Representer(dumperOptions);
|
||||
NoTimestampResolver resolver = new NoTimestampResolver();
|
||||
return new Yaml(constructor, representer, dumperOptions, loaderOptions, resolver);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user