Skip to content

Commit abee9c3

Browse files
committed
make json mapper private
1 parent aacd00c commit abee9c3

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/main/java/it/aboutbits/springboot/testing/web/response/ResponseBodyMatchers.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@
1616
import static org.assertj.core.api.Assertions.fail;
1717

1818
public final class ResponseBodyMatchers {
19-
public static JsonMapper jsonMapper = new JsonMapper();
19+
private final static JsonMapper jsonMapper = new JsonMapper();
2020
private final String jsonPath;
21+
2122
private String[] fieldNamesToIgnore = new String[0];
2223
private String[] optionalFieldNamesToIgnore = new String[0];
2324
private boolean ignoreAudition = false;

0 commit comments

Comments
 (0)