Skip to content

Picocli should instantiate LinkedHashSet instead of HashSet for Set fields to preserve input ordering #204

@remkop

Description

@remkop

If an @Option or @Parameters field is null, picocli will instantiate it.

If the Collection type is not a concrete class, picocli will make a best effort to instantiate it based on the field type.

For Set fields, picocli should instantiate LinkedHashSet instead of HashSet to preserve the input ordering.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions