Skip to content

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 force-pushed the new-builder-methods branch from 7d84142 to 4055934 Compare October 15, 2024 19:41
@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 force-pushed the new-builder-methods branch from 8e697d9 to e6327a0 Compare October 20, 2024 21:24
@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
@satsen satsen force-pushed the new-builder-methods branch from 245187d to 40360fa Compare October 20, 2024 21:35
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