1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-11-28 09:24:14 +01:00

EditorConsole: Do not trim getText() result

Not trimming makes this method usable for unittesting. Since this method
is not currently used anywhere, it should not affect any behaviour.
This commit is contained in:
Matthijs Kooijman 2020-05-06 13:20:39 +02:00 committed by Martino Facchin
parent 07b3b9036a
commit 922661930d

View File

@ -186,7 +186,7 @@ public class EditorConsole extends JScrollPane {
}
public String getText() {
return consoleTextPane.getText().trim();
return consoleTextPane.getText();
}
}