8000 selftest: Suppress some Eclipse warnings · kohlschutter/junixsocket@e710ee7 · GitHub
[go: up one dir, main page]

Skip to content

Commit e710ee7

Browse files
committed
selftest: Suppress some Eclipse warnings
1 parent fa6b151 commit e710ee7

File tree

1 file changed

+2
-2
lines changed
  • junixsocket-selftest/src/main/java/org/newsclub/net/unix/selftest

1 file changed

+2
-2
lines changed

junixsocket-selftest/src/main/java/org/newsclub/net/unix/selftest/Selftest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,9 +258,9 @@ private static void printStackTrace(Throwable t) {
258258

259259
public static int runSelftest(Writer out) throws Exception {
260260
PipedInputStream pis = new PipedInputStream();
261-
@SuppressWarnings("resource")
261+
@SuppressWarnings("all")
262262
PipedOutputStream pos = new PipedOutputStream(pis);
263-
@SuppressWarnings("resource")
263+
@SuppressWarnings("all")
264264
PrintStream ps = new PrintStream(pos, false, Charset.defaultCharset().name());
265265

266266
InputStreamReader isr = new InputStreamReader(pis, Charset.defaultCharset());

0 commit comments

Comments
 (0)
0