Skip to content

Commit

Permalink
AbstractResolveContext.findProviders0 cannot return null
Browse files Browse the repository at this point in the history
Signed-off-by: Sean Bright <sean.bright@gmail.com>
  • Loading branch information
seanbright committed Sep 15, 2016
1 parent acd1d81 commit 52c009e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ protected synchronized void init() {
public List<Capability> findProviders(Requirement requirement) {
init();
List<Capability> result = findProviders0(requirement);
if (result == null || result.isEmpty()) {
if (result.isEmpty()) {
failed.add(requirement);
}
return result;
Expand Down

0 comments on commit 52c009e

Please sign in to comment.