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

Preconditions optimizations #930

Merged
merged 1 commit into from
Nov 21, 2023
Merged

Conversation

magicprinc
Copy link
Contributor

• check T +long,int → remove unnecessary boxing/unboxing
• todo checkNotNull → Objects.requireNonNull (can be inlined)

@Ladicek Ladicek added this to the 6.3.0 milestone Nov 21, 2023
This commit provides a `check` method that accepts/returns `long` and `int`,
to avoid unnecessary boxing and unboxing with the generic variant.
@Ladicek Ladicek force-pushed the feature/preconditions branch from c7a8579 to 1474b11 Compare November 21, 2023 08:13
@Ladicek Ladicek merged commit 589d3e6 into smallrye:main Nov 21, 2023
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.

2 participants