Skip to content

Commit 135e04a

Browse files
fix(java-dsl): Fix method not found treeToValue(TypeReference) affecting users with Jackson < 2.16 (#1250)
1 parent 57fd35a commit 135e04a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/dsl-java/src/main/java/io/contract_testing/contractcase/VerifierResultMapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ private static VerificationHandle toVerificationHandle(JsonNode root)
9191
}
9292
List<VerificationTestHandle> tests = List.of();
9393
if (root.has("testHandles")) {
94-
tests = mapper.treeToValue(
94+
tests = mapper.convertValue(
9595
root.get("testHandles"),
9696
new TypeReference<List<VerificationTestHandle>>() {
9797
}

0 commit comments

Comments
 (0)