DistinctExitOperation throws an UnsupportedOperationException

Description

Currently on DistinctExitOperation, I do see that we have apply implementation, but this has been marked as UnsupportedOperationException on constructor, I don't understand why is that, may I know why?

Set<Object> uniqueSet = Sets.newHashSet();
uniqueSet.addAll(ExitOperationUtils.getNonNullList(results));
List<Object> uniqueList = Lists.newArrayList(uniqueSet);
return uniqueList;

Environment

None

Status

Assignee

Max Ross

Reporter

Anirudh Vyas

Labels

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Affects versions

Priority

Major
Configure