cairesvs/vraptor — comment on commit cdadd7309e56ff7bfa4b8dd24b32ac814732f2a4
File: vraptor-core/src/main/java/br/com/caelum/vraptor/ioc/guice/GuiceComponentRegistry.java line 145
By lucascs:

you can use Iterables.first, or something like that