RFR: 8275242: Remove redundant stream() call before forEach in jdk.compiler [v2]
Andrey Turbanov
duke at openjdk.java.net
Mon Oct 18 08:45:13 UTC 2021
On Fri, 15 Oct 2021 20:12:12 GMT, Vicente Romero <vromero at openjdk.org> wrote:
>> 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
>
> src/jdk.compiler/share/classes/com/sun/tools/javac/code/TypeAnnotations.java line 60:
>
>> 58: import com.sun.tools.javac.tree.JCTree;
>> 59: import com.sun.tools.javac.tree.TreeInfo;
>> 60: import com.sun.tools.javac.tree.JCTree.JCBlock;
>
> probably IDE generated but I think that it is preferable to let the explicit imports and instead remove the:
> `import com.sun.tools.javac.tree.JCTree.*` below
updated
-------------
PR: https://git.openjdk.java.net/jdk/pull/5521
More information about the compiler-dev
mailing list