Skip to content

Commit

Permalink
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -62,10 +62,7 @@
import org.jruby.util.ByteList;
import org.jruby.util.IdUtil;

import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.PrintStream;
import java.io.*;
import java.math.BigInteger;
import java.nio.charset.StandardCharsets;
import java.util.Arrays;
@@ -697,7 +694,7 @@ public CrtExterns getCrtExterns() {
public static void writeToFile(String fileName, String message) {
try (PrintStream stream = new PrintStream(fileName, StandardCharsets.UTF_8.name())) {
stream.println(message);
} catch (Exception e) {
} catch (FileNotFoundException | UnsupportedEncodingException e) {
e.printStackTrace();
}
}

0 comments on commit 8921b00

Please sign in to comment.