Commit 2c1f2db2 authored by Carl Gützkow's avatar Carl Gützkow
Browse files

fix: made list message to list instead of arraylist

parent e126d743
Pipeline #183898 passed with stages
in 45 seconds
......@@ -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;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment