Skip to content

Commit 7e1c0d4

Browse files
committed
replace deprecated method call
1 parent e5958ea commit 7e1c0d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testing-common/src/main/java/io/opentelemetry/instrumentation/testing/recording/YamlFileMappingsSource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ final class YamlFileMappingsSource implements MappingsSource {
5353
.enable(YAMLGenerator.Feature.ALWAYS_QUOTE_NUMBERS_AS_STRINGS)
5454
// For non-YAML, follow
5555
// https://github.com/wiremock/wiremock/blob/master/src/main/java/com/github/tomakehurst/wiremock/common/Json.java#L41
56-
.setSerializationInclusion(Include.NON_NULL)
56+
.setDefaultPropertyInclusion(Include.NON_NULL)
5757
.configure(JsonNodeFeature.STRIP_TRAILING_BIGDECIMAL_ZEROES, false)
5858
.configure(JsonParser.Feature.ALLOW_COMMENTS, true)
5959
.configure(JsonParser.Feature.ALLOW_SINGLE_QUOTES, true)

0 commit comments

Comments
 (0)