Skip to content

Commit cdbc866

Browse files
committed
perf: use unnamed variable on exception #127
1 parent 0ffdb35 commit cdbc866

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/adventofcode/flashk/common/JsonUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public static JsonNode buildTree(String input) {
2727
try {
2828
ObjectMapper objectMapper = new ObjectMapper();
2929
return objectMapper.readTree(input);
30-
} catch (JsonProcessingException e) {
30+
} catch (JsonProcessingException _) {
3131
throw new IllegalArgumentException("The file "+input+" has wrong format.");
3232
}
3333
}

0 commit comments

Comments
 (0)