We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a13e6e2 commit 2337d1aCopy full SHA for 2337d1a
src/test-jdk17/java/com/fasterxml/jackson/databind/records/JsonIdentityOnRecord5238Test.java
@@ -40,7 +40,7 @@ static class ThingPojo {
40
public final String name;
41
42
@JsonCreator
43
- public ThingPojo(@JsonProperty("prefixId") int id, @JsonProperty("name") String name) {
+ public ThingPojo(@JsonProperty("id") int id, @JsonProperty("name") String name) {
44
this.id = id;
45
this.name = name;
46
}
@@ -79,5 +79,4 @@ void testIdentityWithRecord() throws Exception {
79
assertEquals(input.selected.id, result.selected.id);
80
assertEquals(input.selected.name, result.selected.name);
81
82
-
83
-}
+}
0 commit comments