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

getGovernorTokens returns null when there is no governor #11

Open
danieldk opened this issue Sep 5, 2016 · 0 comments
Open

getGovernorTokens returns null when there is no governor #11

danieldk opened this issue Sep 5, 2016 · 0 comments
Assignees

Comments

@danieldk
Copy link
Contributor

danieldk commented Sep 5, 2016

DependencyParsingLayerStored#getGovernorTokens returns null when a token has no governors. The proper thing to do would be to return an empty array (with a guarantee that the method does not return null).

Even if this cannot be changed anymore (I am not sure how much code depends on this behaviour), it a hint in the Javadoc would be nice.

@qiuwei qiuwei self-assigned this Sep 5, 2016
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

2 participants