Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2020-01-13 09:03:18 +0000
committerLars Vogel2020-01-15 07:55:40 +0000
commitef601e2f25021d9b861b231dcb100738f7e1b989 (patch)
treecfd94d72bb979e430a445e41d600cbb5c634bff3 /org.eclipse.debug.tests
parentea1b2c82018821d079bce0fa0a103d7a8b8468ff (diff)
downloadeclipse.platform.debug-ef601e2f25021d9b861b231dcb100738f7e1b989.tar.gz
eclipse.platform.debug-ef601e2f25021d9b861b231dcb100738f7e1b989.tar.xz
eclipse.platform.debug-ef601e2f25021d9b861b231dcb100738f7e1b989.zip
Benefit of this way rather than System.getProperty("line.separator") is that there are no security checks. Change-Id: Ib14dc56626a541a2bace31952281cfbb6e0a9a00 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
Diffstat (limited to 'org.eclipse.debug.tests')
-rw-r--r--org.eclipse.debug.tests/src/org/eclipse/debug/tests/console/IOConsoleTestUtil.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.debug.tests/src/org/eclipse/debug/tests/console/IOConsoleTestUtil.java b/org.eclipse.debug.tests/src/org/eclipse/debug/tests/console/IOConsoleTestUtil.java
index 526d26374..9f29c7df0 100644
--- a/org.eclipse.debug.tests/src/org/eclipse/debug/tests/console/IOConsoleTestUtil.java
+++ b/org.eclipse.debug.tests/src/org/eclipse/debug/tests/console/IOConsoleTestUtil.java
@@ -367,7 +367,7 @@ public final class IOConsoleTestUtil {
*/
public IOConsoleTestUtil enter() {
// Note: newline will be replaced by
- // System.getProperty("line.separator") so do not assume document length
+ // System.lineSeparator() so do not assume document length
// will increase by 1
insertTyping("\n");
return this;

Back to the top