Skip to content

RankedReducer returns null in certain cases instead of throwing an UnsatisfiedReductionException #21

@ljnelson

Description

@ljnelson

if (elements == null || elements.isEmpty()) {
return null;
} else if (elements.size() == 1) {

I think this return null should actually invoke the failure handler with an empty list.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions