Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tetris
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Brady James Garvin
tetris
Commits
16e5b548
Commit
16e5b548
authored
8 years ago
by
Brady James Garvin
Browse files
Options
Downloads
Patches
Plain Diff
Reformatted code.
parent
8a8bfe90
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
tetris/src/main/java/edu/unl/cse/soft160/tetris/Tetris.java
+2
-1
2 additions, 1 deletion
tetris/src/main/java/edu/unl/cse/soft160/tetris/Tetris.java
with
2 additions
and
1 deletion
tetris/src/main/java/edu/unl/cse/soft160/tetris/Tetris.java
+
2
−
1
View file @
16e5b548
...
@@ -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
();
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment