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

CollectionSuppliers.objectArraySupplier is never called #22

Open
garcia-jj opened this issue Jul 26, 2014 · 0 comments
Open

CollectionSuppliers.objectArraySupplier is never called #22

garcia-jj opened this issue Jul 26, 2014 · 0 comments

Comments

@garcia-jj
Copy link
Contributor

The method is here: https://github.com/rafaeldff/Iogi/blob/master/src/br/com/caelum/iogi/EmptyObjectsProvider.java#L84

This method is never called, because when we have a empty object array, EmptyObjectsProvider.provide is catched by target.getClassType().isArray().

https://github.com/rafaeldff/Iogi/blob/master/src/br/com/caelum/iogi/EmptyObjectsProvider.java#L46

Since this method is never used, can be removed.

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 a pull request may close this issue.

1 participant