Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2021-04-12 20:03:10 +0000
committerLars Vogel2021-04-12 20:03:10 +0000
commit5a322df14122ebc566a988436717be558e7fb5b5 (patch)
tree9ff6500958be798566a22dc4b8185db7aa92f2ac
parent645c89a7bcfeddb4862d21d8e68d312859426382 (diff)
downloadeclipse.platform.debug-5a322df14122ebc566a988436717be558e7fb5b5.tar.gz
eclipse.platform.debug-5a322df14122ebc566a988436717be558e7fb5b5.tar.xz
eclipse.platform.debug-5a322df14122ebc566a988436717be558e7fb5b5.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: I66c10e902f27e9603b1432b4fc679b7472740c03 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/VirtualCopyToClipboardActionDelegate.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/VirtualCopyToClipboardActionDelegate.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/VirtualCopyToClipboardActionDelegate.java
index e92b4924b..cab30d7f1 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/VirtualCopyToClipboardActionDelegate.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/VirtualCopyToClipboardActionDelegate.java
@@ -56,7 +56,6 @@ public class VirtualCopyToClipboardActionDelegate extends AbstractDebugActionDel
private TreeModelViewer fClientViewer;
private static final String TAB = "\t"; //$NON-NLS-1$
- private static final String SEPARATOR = "line.separator"; //$NON-NLS-1$
/**
* Virtual viewer listener. It tracks progress of copy and increments
@@ -153,7 +152,7 @@ public class VirtualCopyToClipboardActionDelegate extends AbstractDebugActionDel
}
buffer.append(TAB);
}
- buffer.append(System.getProperty(SEPARATOR));
+ buffer.append(System.lineSeparator());
}
}

Back to the top