Skip to content

Commit 0102c4d

Browse files
committed
Fix a minor test issue wrt #4965
1 parent 6ffa6e0 commit 0102c4d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/test/java/com/fasterxml/jackson/databind/struct/ShapeArrayWithAnyGetter4961Test.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ static class WrapperForAnyGetter {
2121
}
2222

2323
@JsonFormat(shape = JsonFormat.Shape.ARRAY)
24+
@JsonPropertyOrder({ "firstProperty", "secondProperties", "forthProperty" })
2425
static class BeanWithAnyGetter {
2526
public String firstProperty = "first";
2627
public String secondProperties = "second";
@@ -34,7 +35,7 @@ public Map<String, String> getAnyProperty() {
3435
}
3536
}
3637

37-
final ObjectMapper MAPPER = newJsonMapper();
38+
private final ObjectMapper MAPPER = newJsonMapper();
3839

3940
@Test
4041
public void testSerializeArrayWithAnyGetterWithWrapper() throws Exception {

0 commit comments

Comments
 (0)