Skip to content

Commit

Permalink
resolved todo with UncheckedIOException
Browse files Browse the repository at this point in the history
  • Loading branch information
Tibor17 committed Mar 25, 2022
1 parent 75aab7e commit 8bf29be
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
import java.io.FileOutputStream;
import java.io.FilterOutputStream;
import java.io.IOException;
import java.io.UncheckedIOException;
import java.nio.charset.Charset;
import java.util.concurrent.atomic.AtomicStampedReference;

Expand Down Expand Up @@ -126,8 +127,7 @@ public synchronized void writeTestOutput( TestOutputReportEntry reportEntry )
catch ( IOException e )
{
dumpException( e );
// todo use UncheckedIOException in Java 8
throw new RuntimeException( e );
throw new UncheckedIOException( e );
}
}

Expand Down

0 comments on commit 8bf29be

Please sign in to comment.