mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-26 20:54:22 +01:00
Fix trimming: trim() return value should be used.
This commit is contained in:
parent
c33fb9fde3
commit
d17e1ef875
@ -888,9 +888,7 @@ public class BaseNoGui {
|
||||
// then trim any other character (\r) so saveStrings can print it in the correct
|
||||
// format for every OS
|
||||
String strArray[] = str.split("\n");
|
||||
for (String item : strArray) {
|
||||
item.trim();
|
||||
}
|
||||
Arrays.parallelSetAll(strArray, i -> strArray[i].trim());
|
||||
PApplet.saveStrings(temp, strArray);
|
||||
|
||||
try {
|
||||
|
Loading…
x
Reference in New Issue
Block a user