RFR: 8275242: Remove redundant stream() call before forEach in jdk.compiler [v2]

Andrey Turbanov duke at openjdk.java.net
Mon Nov 15 18:17:49 UTC 2021


On Mon, 18 Oct 2021 08:45:12 GMT, Andrey Turbanov <duke at openjdk.java.net> wrote:

>> There are several places in the jdk.compiler that use stream().forEach(...), these can be cleaned up.
>> Instead Collection.forEach or Map.forEach can be used directly.
>> This is continuation of
>> 1. [JDK-8273710](https://bugs.openjdk.java.net/browse/JDK-8273710) Remove redundant stream() call before forEach in jdk.jdeps
>> 2. [JDK-8273711](https://bugs.openjdk.java.net/browse/JDK-8273711) Remove redundant stream() call before forEach in jdk.jlink
>
> Andrey Turbanov has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8275242: Remove redundant stream() call before forEach in jdk.compiler
>   expand start import

keep open

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

PR: https://git.openjdk.java.net/jdk/pull/5521


More information about the compiler-dev mailing list