Skip to content

incorrect formatting for a record + @DefaultValue #236

@wind57

Description

@wind57

If I have a very simple record in the form:

public record TestRecord(@DefaultValue({"123", "456" }) Set<Integer> knownSecurePorts){
}

this in spring-cloud-kubernetes that uses 4.0.0-SNAPSHOT. and run mvn compile for it, it is formatted like this:

public record TestRecord(@DefaultValue( {
		"123", "456" }) Set<Integer> knownSecurePorts){
}

So the next time I try to issue mvn compile, it will fail.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions