Skip to content

Commit

Permalink
refactor: ObjectMapper static화
Browse files Browse the repository at this point in the history
  • Loading branch information
aiaiaiai1 committed Sep 29, 2023
1 parent cec9ea3 commit 8ada904
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,7 @@

public class JsonView implements View {

private final ObjectMapper objectMapper;

public JsonView() {
objectMapper = new ObjectMapper();
}
private final static ObjectMapper objectMapper = new ObjectMapper();

@Override
public void render(
Expand Down

0 comments on commit 8ada904

Please sign in to comment.