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

Fix Readme code example and maven use #14

Merged
merged 24 commits into from
Sep 11, 2023
Merged

Fix Readme code example and maven use #14

merged 24 commits into from
Sep 11, 2023

Conversation

Anrufliste
Copy link
Collaborator

@Anrufliste Anrufliste commented May 19, 2023

By deploying v1.1.0 to maven central and coding an example using the jar from maven central, I discovered:

  • Given Example in README had bugs
  • PhoneNumberAreaLabelImpl does not load the provided default data, because they would need a setting in application.yml

This PR fixes the bugs in the README provided examples.
It also added a fallback initialization to PhoneNumberAreaLabelImpl if no setting has been done, that the provided default data is loaded.
Finally also maven dependency stuff has been added to README.

@Anrufliste Anrufliste changed the title Fix maven use Fix Readme code example and maven use Aug 21, 2023
@Anrufliste
Copy link
Collaborator Author

@kaikreuzer with the last Version Update I also introduced a new documentation https://github.com/telekom/phonenumber-normalizer/blob/main/UPDATE_FOR_NEW_PHONELIB.md and missed out to sent it to you for a prior check. So if you check the updates in this MR, it would be great, if you could also check this new document (even if in this MR only its title has been changed). Thanks and Regards, Emil

Copy link
Collaborator

@kaikreuzer kaikreuzer left a comment

Choose a reason for hiding this comment

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

lgtm, thanks.
Although it would be nicer to have the different things (docs update, dependency update, code fixes) in dedicated PRs.

@kaikreuzer kaikreuzer merged commit 23edbdc into main Sep 11, 2023
1 check passed
@kaikreuzer kaikreuzer deleted the fix_maven_use branch September 11, 2023 09:50
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