RFR: 8289804: Remove redundant stream() call before forEach in jdk.jshell

Andrey Turbanov aturbanov at openjdk.org
Wed Jul 6 08:06:52 UTC 2022


There are several places in the jdk.jshell implementation that use stream().forEach(...), these can be cleaned up.

-------------

Commit messages:
 - [PATCH] Remove redundant stream() call before forEach in jdk.jshell

Changes: https://git.openjdk.org/jdk/pull/9370/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=9370&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8289804
  Stats: 25 lines in 3 files changed: 0 ins; 2 del; 23 mod
  Patch: https://git.openjdk.org/jdk/pull/9370.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/9370/head:pull/9370

PR: https://git.openjdk.org/jdk/pull/9370


More information about the kulla-dev mailing list