Skip to content

Commit

Permalink
refactor: 컨벤션에 따라 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
chaewon121 committed Oct 10, 2023
1 parent 97fd8e5 commit 7f80dae
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public void render(final Map<String, ?> model,
writer.flush();
}

private String getJsonString(Map<String, ?> model) {
private String getJsonString(final Map<String, ?> model) {
if (model.size() == 1) {
return model.values().stream()
.map(this::writeValueAsString)
Expand All @@ -36,7 +36,7 @@ private String getJsonString(Map<String, ?> model) {
return writeValueAsString(model);
}

private String writeValueAsString(Object object) {
private String writeValueAsString(final Object object) {
try {
return objectMapper.writeValueAsString(object);
} catch (JsonProcessingException e) {
Expand Down

0 comments on commit 7f80dae

Please sign in to comment.