Skip to content

Formatting java record with generics adds a whitespace before a bracket #348

Closed
@andrej-urvantsev

Description

@andrej-urvantsev

Spring format adds a white space between > and (:

private record LookupResult<T> (T match, boolean hasMore) {
	}

And then checkstyle fails with

'(' is preceded with whitespace.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions