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

refactor!: Remove or inline Assert/Require methods so the classes can be shared with JS API #5782

Merged
merged 5 commits into from
Jul 19, 2024

Conversation

niloc132
Copy link
Member

Where necessary, inlined these methods as one-liners. In some cases, the instance checks are reduced to not-null checks, since Java already would guarantee that the variables were the correct type.

BREAKING CHANGES: Removed holdsLock, notHoldsLock, instanceOf, notInstanceOf from Assert and Require.
Partial #188

@niloc132 niloc132 added this to the 0.36.0 milestone Jul 17, 2024
@niloc132 niloc132 changed the title refactor!: Remove or inline Assert/Require methods so the classes can be shared with JS API refactor!: Remove or inline Assert/Require methods so the classes can be shared with JS API Jul 17, 2024
devinrsmith
devinrsmith previously approved these changes Jul 17, 2024
@niloc132 niloc132 enabled auto-merge (squash) July 19, 2024 21:23
@niloc132 niloc132 merged commit 6d19851 into deephaven:main Jul 19, 2024
15 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Jul 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants