On Tue, 30 Mar 2021 18:31:34 GMT, Andrey Turbanov <github.com+741251+turban...@openjdk.org> wrote:
>> Andrey Turbanov has updated the pull request incrementally with one >> additional commit since the last revision: >> >> [PATCH] Replace uses of StringBuffer with StringBuilder in java.desktop > > src/java.desktop/share/classes/com/sun/imageio/plugins/tiff/TIFFFieldNode.java > line 127: > >> 125: StringBuilder sb = new StringBuilder(); >> 126: for (int i = 0; i < count; i++) { >> 127: sb.append((data[i] & 0xff)); > > Remove redundant parentheses fixed. It's suspicious that IDEA wasn't able to remove them by itself. Reported https://youtrack.jetbrains.com/issue/IDEA-265548 ------------- PR: https://git.openjdk.java.net/jdk/pull/3251