Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
remkop opened this issue Oct 15, 2017 · 0 comments

Comments

@remkop
Copy link
Owner

remkop commented Oct 15, 2017

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.

@remkop remkop added this to the 2.0.0 milestone Oct 15, 2017
@remkop remkop closed this as completed in bce8e4d Oct 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant