1

Groovy 1.7.5 claims to have both findResult and findAllResults. But when I try, it seems to have only findResult. findAllResults is not included in the groovy jdk documentation, either. Am I not reading it thoroughly?

2 Answers 2

3

If you read the comments in that issue, (Ted Naleid added a comment - 19/Jun/10 10:46 PM) says that findAllResults was removed as it can be easily achieved with an inject in it's place

3

As a follow up, this has been implemented as of Groovy 1.8.1 as findResults instead of findAllResults. It's cleaner than using inject in many situations.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.