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

Rename NonGeographicalRegion to NonGeographicalEntity. #3627

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

KarolJakubKrawiec
Copy link

@KarolJakubKrawiec KarolJakubKrawiec commented Sep 18, 2024

This is to be consistent with the naming of non-geographical entities, since region and non-geographical can be contradictory.

Context: b/206752240

This is to be consistent with the naming of non-geographical entities, since region and non-geographical can be contradictory.
Copy link
Member

@tvislavski tvislavski left a comment

Choose a reason for hiding this comment

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

Can you also update https://github.com/google/libphonenumber/blob/master/pending_code_changes.txt with the explanation of this change? This will be included in the release notes then

@@ -2322,18 +2322,26 @@ PhoneMetadata getMetadataForRegion(String regionCode) {
return phoneMetadata;
}

/**
* @deprecated use the following name {@link #getMetadataForNonGeographicalEntity}
Copy link
Member

Choose a reason for hiding this comment

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

Maybe @deprecated Use {@link #getMetadataForNonGeographicalEntity} to be consistent with other changes?

Added ( - Renamed NonGeographicalRegion to NonGeographicalEntity.
 - Created a new interface called NonGeographicalEntityMetadataSourceV2) into the file.
Changed @deprecated use the following... to just @deprecated Use... to make every @deprecated comment the same.
tvislavski
tvislavski previously approved these changes Oct 2, 2024
tvislavski and others added 2 commits October 8, 2024 11:07
I renamed the NonGeographicalRegion variables and methodes to NonGeographicalEntity because we want to keep the naming the same so its easier to read. This CL is for the C++ version.
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