On Mon, 29 Mar 2021 20:50:14 GMT, Andrey Turbanov <github.com+741251+turban...@openjdk.org> wrote:
> Found by IntelliJ IDEA inspection `Java | Java language level migration aids > | Java 5 | 'StringBuffer' may be 'StringBuilder'` > As suggested in > https://github.com/openjdk/jdk/pull/1507#issuecomment-757369003 I've created > separate PR for module `java.desktop` > Similar cleanups in the past: > https://bugs.openjdk.java.net/browse/JDK-8041679 > https://bugs.openjdk.java.net/browse/JDK-8264029 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 ------------- PR: https://git.openjdk.java.net/jdk/pull/3251