Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2020-11-11 15:55:56 +0000
committerAlexander Kurtakov2020-11-11 15:57:13 +0000
commitb08e0326b313309fdcaaf3aeedb6007501dab353 (patch)
tree132a7781b2487dcfde48e371485514156c7bb04b
parentf5c1169d719689a31c7c6848d0323d5302124697 (diff)
downloadeclipse.pde.build-b08e0326b313309fdcaaf3aeedb6007501dab353.tar.gz
eclipse.pde.build-b08e0326b313309fdcaaf3aeedb6007501dab353.tar.xz
eclipse.pde.build-b08e0326b313309fdcaaf3aeedb6007501dab353.zip
... instead of System.getProperty("line.separator") Change-Id: I40b005a183bddd8c854326c111c4fb0cd8716ed6 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
-rw-r--r--org.eclipse.pde.build/src_ant/org/eclipse/pde/internal/build/tasks/CompileErrorTask.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.pde.build/src_ant/org/eclipse/pde/internal/build/tasks/CompileErrorTask.java b/org.eclipse.pde.build/src_ant/org/eclipse/pde/internal/build/tasks/CompileErrorTask.java
index 9efa41d3..e7fa0031 100644
--- a/org.eclipse.pde.build/src_ant/org/eclipse/pde/internal/build/tasks/CompileErrorTask.java
+++ b/org.eclipse.pde.build/src_ant/org/eclipse/pde/internal/build/tasks/CompileErrorTask.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2010, 2017 IBM Corporation and others.
+ * Copyright (c) 2010, 2020 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
@@ -23,7 +23,7 @@ import org.apache.tools.ant.types.resources.Union;
public class CompileErrorTask extends Task {
private static final Object LOCK = new Object();
- private static final String NEW_LINE = System.getProperty("line.separator"); //$NON-NLS-1$
+ private static final String NEW_LINE = System.lineSeparator();
private static final String ANT_PREFIX = "${"; //$NON-NLS-1$
private final Files problemFiles = new Files();

Back to the top