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

Tighten up mill/main/client/lock files #3366

Merged
merged 3 commits into from
Aug 12, 2024
Merged

Conversation

lihaoyi
Copy link
Member

@lihaoyi lihaoyi commented Aug 12, 2024

follow up for #3363

  • Remove the public-ness from FileTryLocked and MemoryTryLocked. They do not need to be public, as people should only access them through the TryLocked interface

  • Add final to the fields that do not need to be mutated (i.e. all of them)

  • Make Locks final, and replace weird anonymous class initializers with a proper constructor

@lihaoyi lihaoyi merged commit 89c93e9 into com-lihaoyi:main Aug 12, 2024
30 checks passed
@lefou lefou added this to the 0.12.0 milestone Aug 13, 2024
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