Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Carl Johan Gützkow
Wargames
Commits
2c1f2db2
Commit
2c1f2db2
authored
May 20, 2022
by
Carl Gützkow
Browse files
fix: made list message to list instead of arraylist
parent
e126d743
Pipeline
#183898
passed with stages
in 45 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/edu/ntnu/idatt2001/carljgu/client/App.java
View file @
2c1f2db2
...
...
@@ -96,11 +96,7 @@ public class App extends Application {
"Expand the \"Show details\" button to see full stack trace.\n"
+
"Error message: "
+
e
.
getMessage
())
.
setMessage
(
e
.
getMessage
())
.
setListMessage
(
Arrays
.
stream
(
e
.
getStackTrace
())
.
map
(
String:
:
valueOf
)
.
collect
(
Collectors
.
toCollection
(
ArrayList:
:
new
)
))
.
setListMessage
(
Arrays
.
stream
(
e
.
getStackTrace
()).
map
(
String:
:
valueOf
).
toList
())
.
build
().
showAndWait
();
return
false
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment