Skip to content

Format + Spring Checkstyle checks combined fail with nullable varags #454

@mhalbritter

Description

@mhalbritter

This code here:

private static byte[] bytes(int @Nullable... elements) {

(which passes checkstyle)

formats to

private static byte[] bytes(int @Nullable ... elements) {

(note the whitespace before the ...)

which fails checkstyle with:

PemPrivateKeyParser.java:324:59: '...' is preceded with whitespace. [NoWhitespaceBefore]

Related to #435.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions