This PR removes potentially incorrect usages of Stream.peek(). The changed code should be covered by the tests that are already present.
------------- Commit messages: - Remove Stream.peek() operation Changes: https://git.openjdk.org/jfx/pull/1430/files Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=1430&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8273349 Stats: 21 lines in 2 files changed: 10 ins; 1 del; 10 mod Patch: https://git.openjdk.org/jfx/pull/1430.diff Fetch: git fetch https://git.openjdk.org/jfx.git pull/1430/head:pull/1430 PR: https://git.openjdk.org/jfx/pull/1430