Iogi icon indicating copy to clipboard operation
Iogi copied to clipboard

CollectionSuppliers.objectArraySupplier is never called

Open garcia-jj opened this issue 10 years ago • 0 comments

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.

garcia-jj avatar Jul 26 '14 22:07 garcia-jj