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

chore: Remove underscores from private fields. #8682

Merged
merged 2 commits into from
Dec 2, 2024

Conversation

gonfunko
Copy link
Contributor

@gonfunko gonfunko commented Dec 2, 2024

The basics

The details

Resolves

Fixes #6548

Proposed Changes

This PR removes underscores from private fields (found via a regex search for private.+_).

@gonfunko gonfunko requested a review from a team as a code owner December 2, 2024 17:49
@github-actions github-actions bot added the PR: chore General chores (dependencies, typos, etc) label Dec 2, 2024
Copy link
Collaborator

@rachel-fenichel rachel-fenichel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

There are 13 test files in this change, which means 13 files where we are accessing private properties in tests. Please take a quick pass through looking for places where those accesses could be replaced with existing getters, and either change or file a follow-up bug to change.

@gonfunko
Copy link
Contributor Author

gonfunko commented Dec 2, 2024

Done!

@gonfunko gonfunko merged commit 61bbd7d into google:develop Dec 2, 2024
7 checks passed
@gonfunko gonfunko deleted the underscores branch December 2, 2024 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: chore General chores (dependencies, typos, etc)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove underscores from private property and method names
2 participants