[dogfooding] Use Java method instead of system property cleanup
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>
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 e92b492..cab30d7 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 @@
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 @@
}
buffer.append(TAB);
}
- buffer.append(System.getProperty(SEPARATOR));
+ buffer.append(System.lineSeparator());
}
}