Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2021-04-12 20:02:20 +0000
committerLars Vogel2021-04-12 20:02:20 +0000
commit1661b445f32ed8cf52971c0b26d615ccad6b33e3 (patch)
tree12bc98d15345fabe1c733b01a5fd179ee6fee002
parent077c0713b0e7388491a456da05dafa33ccadc243 (diff)
downloadrt.equinox.framework-1661b445f32ed8cf52971c0b26d615ccad6b33e3.tar.gz
rt.equinox.framework-1661b445f32ed8cf52971c0b26d615ccad6b33e3.tar.xz
rt.equinox.framework-1661b445f32ed8cf52971c0b26d615ccad6b33e3.zip
[dogfooding] Use Java method instead of system property cleanupI20210415-0010I20210414-1800I20210414-0330I20210413-2350I20210413-1800I20210413-1400
Applied use Java method instead of system property 'FILE_ENCODING,PATH_SEPARATOR,FILE_SEPARATOR,LINE_SEPARATOR,BOOLEAN_PROPERTY' Change-Id: I72123148cdee1f216203b98e5d91571824cce22d Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
-rw-r--r--bundles/org.eclipse.osgi.tests/src/org/eclipse/osgi/tests/debugoptions/DebugOptionsTestCase.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.osgi.tests/src/org/eclipse/osgi/tests/debugoptions/DebugOptionsTestCase.java b/bundles/org.eclipse.osgi.tests/src/org/eclipse/osgi/tests/debugoptions/DebugOptionsTestCase.java
index 79d66e0cd..5972ea94a 100644
--- a/bundles/org.eclipse.osgi.tests/src/org/eclipse/osgi/tests/debugoptions/DebugOptionsTestCase.java
+++ b/bundles/org.eclipse.osgi.tests/src/org/eclipse/osgi/tests/debugoptions/DebugOptionsTestCase.java
@@ -64,7 +64,7 @@ public class DebugOptionsTestCase extends CoreTest {
private final static String LINE_SEPARATOR;
private boolean verboseDebug = true; // default is true
static {
- String s = System.getProperty("line.separator"); //$NON-NLS-1$
+ String s = System.lineSeparator();
LINE_SEPARATOR = s == null ? "\n" : s; //$NON-NLS-1$
}
private final static String TAB_CHARACTER = "\t"; //$NON-NLS-1$

Back to the top