~And replace stream .collect(Collectors.toList()) with .toList().~ Removed from this PR.
[x] Tests are included.
[x] Commits have been squashed to remove intermediate development commit messages.
[x] Key commit messages start with the issue number (GH-xxxx)
By submitting this pull request, I acknowledge that I am making a contribution to the Apache Software Foundation under the terms and conditions of the Contributor's Agreement.
GitHub issue resolved #2837
~And replace stream
.collect(Collectors.toList())
with.toList()
.~ Removed from this PR.By submitting this pull request, I acknowledge that I am making a contribution to the Apache Software Foundation under the terms and conditions of the Contributor's Agreement.