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

Added new builder methods that take lists #246

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

satsen
Copy link
Contributor

@satsen satsen commented Oct 15, 2024

See #245

Additionally, I made it so that outBoxBuilder.tokens(empty) is allowed. I did not make registers(empty) allowed, but maybe I should. Perhaps only the methods taking Lists should allow it being empty, because it's easy to call a varargs method with no arguments by accident, but that makes it confusing.

@satsen satsen changed the title Added new List methods and deprecated the varargs (array) ones. Added new builder methods that take lists and deprecated the varargs (array) ones. Oct 15, 2024
@satsen satsen force-pushed the new-builder-methods branch 2 times, most recently from cde9203 to 8e697d9 Compare October 15, 2024 19:48
@satsen satsen marked this pull request as draft October 15, 2024 20:01
@satsen satsen changed the title Added new builder methods that take lists and deprecated the varargs (array) ones. Added new builder methods that take lists Oct 20, 2024
@satsen satsen force-pushed the new-builder-methods branch 2 times, most recently from b22c0f2 to 245187d Compare October 20, 2024 21:32
@satsen satsen marked this pull request as ready for review October 20, 2024 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant