palantir-java-format icon indicating copy to clipboard operation
palantir-java-format copied to clipboard

spotlessApply can generate results that exceed 120chars line length

Open tengfliao opened this issue 3 years ago • 0 comments

What happened?

palanitr-java-format 2.0.0 reformats the following line which violates line length:

private static final TypeReference<Map<String, Object>> TYPE_REFERENCE = new TypeReference<Map<String, Object>>() {};

What did you want to happen?

it's possible to satisfy the line length with the following

    private static final TypeReference<Map<String, Object>> TYPE_REFERENCE =
            new TypeReference<Map<String, Object>>() {};

tengfliao avatar Dec 18 '20 15:12 tengfliao