yegor256/takes

View on GitHub
src/main/java/org/takes/rs/RsWithStatus.java

Summary

Maintainability
A
1 hr
Test Coverage

Method make has 44 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private static Map<Integer, String> make() {
        final Map<Integer, String> map = new HashMap<>(0);
        map.put(HttpURLConnection.HTTP_OK, "OK");
        map.put(HttpURLConnection.HTTP_CREATED, "Created");
        map.put(HttpURLConnection.HTTP_ACCEPTED, "Accepted");
Severity: Minor
Found in src/main/java/org/takes/rs/RsWithStatus.java - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status