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

Return empty set in BundleData#getTargetLanguages() #22

Open
yumaoka opened this issue Feb 9, 2017 · 0 comments
Open

Return empty set in BundleData#getTargetLanguages() #22

yumaoka opened this issue Feb 9, 2017 · 0 comments

Comments

@yumaoka
Copy link
Contributor

yumaoka commented Feb 9, 2017

For now, BundleData#getTargetLanguages() may return empty set or null when there are no target languages, depending on how bundle is created (without target languages vs. empty target languages).

The distinction between null and empty set does not make sense for this case. The method should probably return empty set always if no target languages are available.

See also IBM-Cloud/gp-java-tools#43.

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

No branches or pull requests

1 participant