-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
base: master
Are you sure you want to change the base?
Rename NonGeographicalRegion to NonGeographicalEntity. #3627
Conversation
This is to be consistent with the naming of non-geographical entities, since region and non-geographical can be contradictory.
There was a problem hiding this 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} |
There was a problem hiding this comment.
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.
acb49f2
to
e49a7ac
Compare
Changed @deprecated use the following... to just @deprecated Use... to make every @deprecated comment the same.
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.
This is to be consistent with the naming of non-geographical entities, since region and non-geographical can be contradictory.
Context: b/206752240