Skip to content
Snippets Groups Projects
Commit 16e5b548 authored by Brady James Garvin's avatar Brady James Garvin
Browse files

Reformatted code.

parent 8a8bfe90
No related branches found
No related tags found
No related merge requests found
...@@ -20,7 +20,8 @@ public class Tetris extends JFrame { ...@@ -20,7 +20,8 @@ public class Tetris extends JFrame {
protected static void log(String message) { protected static void log(String message) {
try { try {
Files.write(Paths.get("logs/tetris.log"), (message + "\n").getBytes(), StandardOpenOption.CREATE, StandardOpenOption.APPEND); Files.write(Paths.get("logs/tetris.log"), (message + "\n").getBytes(), StandardOpenOption.CREATE,
StandardOpenOption.APPEND);
} catch (IOException exception) { } catch (IOException exception) {
exception.printStackTrace(); exception.printStackTrace();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment