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

Avoid exposing some types outside the scope in which those types are visible. #6777

Closed
wants to merge 0 commits into from

Conversation

copybara-service[bot]
Copy link
Contributor

Avoid exposing some types outside the scope in which those types are visible.

Java doesn't mind this, but it's not like it's accomplishing anything for us.

I've tried to make things private where possible and fallen back to making types package-private where necessary.

(In Synchronized, I made everything package-private for consistency, rather than trying to trace through the class hierarchies to expose only the types that need it.)

I also sprinkled in some final keywords while I was in the area.

RELNOTES=n/a

@copybara-service copybara-service bot closed this Oct 13, 2023
@copybara-service copybara-service bot deleted the test_572243544 branch October 13, 2023 14:12
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.

0 participants