Skip to content

Commit

Permalink
Fix ErrorProne warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
kohlschuetter committed Dec 10, 2024
1 parent 5c48048 commit 6b96688
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,9 @@ private OutputBridge(Process process, ProcessStream output, byte[] prefix) {
}
}

@SuppressWarnings({"NoFinalizer" /* checkstyle */, "PMD.EmptyFinalizer"})
@SuppressWarnings({
"NoFinalizer" /* checkstyle */, "Finalize", // ErrorProne
"PMD.EmptyFinalizer"})
@Deprecated
@Override
protected final void finalize() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
*
* @author Christian Kohlschütter
*/
@SuppressWarnings("SystemConsoleNull") // ErrorProne
public final class ConsolePrintStream extends PrintStream {
private static final byte[] NEWLINE_BYTES = System.lineSeparator().getBytes(Charset
.defaultCharset());
Expand Down

0 comments on commit 6b96688

Please sign in to comment.