diff --git a/src/main/java/org/takes/rs/RsWithStatus.java b/src/main/java/org/takes/rs/RsWithStatus.java index 83be82cf5..6b1467dda 100644 --- a/src/main/java/org/takes/rs/RsWithStatus.java +++ b/src/main/java/org/takes/rs/RsWithStatus.java @@ -142,7 +142,7 @@ private static String best(final int code) { * @checkstyle ExecutableStatementCountCheck (100 lines) */ private static Map make() { - final Map map = new HashMap<>(0); + final Map map = new HashMap<>(); map.put(HttpURLConnection.HTTP_OK, "OK"); map.put(HttpURLConnection.HTTP_CREATED, "Created"); map.put(HttpURLConnection.HTTP_ACCEPTED, "Accepted");