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

Change ConnectionConfiguration getXmlLang method #10

Merged
merged 1 commit into from
Dec 20, 2023

Conversation

vkolesnikov-intermedia
Copy link
Contributor

@vkolesnikov-intermedia vkolesnikov-intermedia commented Dec 19, 2023

No description provided.

@vkolesnikov-intermedia vkolesnikov-intermedia changed the title Change ConnectionConfiguration getXmlLang method draft: Change ConnectionConfiguration getXmlLang method Dec 19, 2023
@vkolesnikov-intermedia vkolesnikov-intermedia changed the title draft: Change ConnectionConfiguration getXmlLang method Change ConnectionConfiguration getXmlLang method Dec 19, 2023
result = result + "-" + country;
}
} else {
result = country;
Copy link
Contributor

Choose a reason for hiding this comment

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

country can be empty here. Is it ok?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, it other branch. But I doubted about empty language.
Probably condition must be more simple, just:

            if (!country.isEmpty()) {
                result = result + "-" + country;
            }

I'll fix

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, getLanguage really can be empty

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed, it's already handle above.

@vkolesnikov-intermedia vkolesnikov-intermedia force-pushed the core/connectiion/xml-lang branch 2 times, most recently from abe1ff5 to 163e224 Compare December 20, 2023 11:09
@vkolesnikov-intermedia vkolesnikov-intermedia merged commit aba0daa into main Dec 20, 2023
2 checks passed
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.

3 participants