[
https://issues.apache.org/jira/browse/OAK-11557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17932942#comment-17932942
]
Rishabh Daim commented on OAK-11557:
------------------------------------
This method is used when we are sure that Iterable consists of only a single
element.
We can replace this with {code} Stream.findAny() {code}.
cc [~reschke]
> Remove usage of Guava Iterables.getOnlyElement()
> ------------------------------------------------
>
> Key: OAK-11557
> URL: https://issues.apache.org/jira/browse/OAK-11557
> Project: Jackrabbit Oak
> Issue Type: Technical task
> Reporter: Rishabh Daim
> Assignee: Rishabh Daim
> Priority: Major
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)