-
Notifications
You must be signed in to change notification settings - Fork 0
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
Conversation
bd706d4
to
4dfc063
Compare
4dfc063
to
18ec864
Compare
result = result + "-" + country; | ||
} | ||
} else { | ||
result = country; |
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.
country can be empty here. Is it ok?
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.
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
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.
No, getLanguage really can be empty
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.
Fixed, it's already handle above.
abe1ff5
to
163e224
Compare
163e224
to
7d3fd81
Compare
No description provided.