Skip to content

Commit

Permalink
Fix how to get line separator
Browse files Browse the repository at this point in the history
Replace ".getProperty("line.separator")" by ".lineSeparator()".
  • Loading branch information
Adrian-Devries authored Jan 13, 2025
1 parent 51eb9d5 commit 8f92677
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ private String getOutput(Process process) throws IOException {
String line;
while ((line = reader.readLine()) != null) {
builder.append(line);
builder.append(System.getProperty("line.separator"));
builder.append(System.lineSeparator());
}
return builder.toString();
}
Expand Down

0 comments on commit 8f92677

Please sign in to comment.