Skip to content
This repository has been archived by the owner on May 11, 2021. It is now read-only.

Issues/292 no excep on stub missing #304

Closed
wants to merge 3 commits into from

Conversation

marcingrzejszczak
Copy link
Contributor

Fixes an issue related to NPE on missing dependency

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.1%) to 79.82% when pulling 4546b3c on issues/292-no-excep-on-stub-missing into 67bdda4 on master.

}

private List<StubRunner> getOnlyPresentValues(List<Optional<StubRunner>> stubRunners) {
return stubRunners.findAll { it.present }.collect { it.get() }
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can use Optional.presentInstances

@marcingrzejszczak
Copy link
Contributor Author

Merged in f01dded

@szpak szpak deleted the issues/292-no-excep-on-stub-missing branch March 4, 2015 11:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants