[ https://issues.apache.org/jira/browse/OAK-11524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rishabh Daim updated OAK-11524: ------------------------------- Description: Currently SetUtils in oak-commons uses Stream API for its method. This might cause issue, since we Stream's create a new collection via collect(). We should update SetUtils to use commons-collections4 methods as we did for IterableUtils. This would ensure, we only create a view on the underlying Iterable/Collections rather than creating a new via Stream.collect(). was: Currently SetUtils in oak-commons uses Stream API for its method. This might cause issue, since we Stream's create a new collection via collect(). We should update SetUtils to use commons-collections4 methods like we did for IterableUtils. This would ensure, we only create a view on the underlying Iterable/Collections rather than creating a new via Stream.collect() > Update oak-commons SetUtils to use commons-collections4 methods > --------------------------------------------------------------- > > Key: OAK-11524 > URL: https://issues.apache.org/jira/browse/OAK-11524 > Project: Jackrabbit Oak > Issue Type: Task > Reporter: Rishabh Daim > Assignee: Rishabh Daim > Priority: Major > > Currently SetUtils in oak-commons uses Stream API for its method. > This might cause issue, since we Stream's create a new collection via > collect(). > We should update SetUtils to use commons-collections4 methods as we did for > IterableUtils. > This would ensure, we only create a view on the underlying > Iterable/Collections rather than creating a new via Stream.collect(). -- This message was sent by Atlassian Jira (v8.20.10#820010)