Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarsten Thoms2018-02-24 14:02:16 +0000
committerAlexander Kurtakov2018-02-24 16:00:00 +0000
commitccb9f3de46a5e7c6801a7cead1e3a8e938d90866 (patch)
tree9d6bd3bcfd2896bbabbf9ff6a7bcd01a47950951 /bundles/org.eclipse.swt/Eclipse SWT Browser
parent113e773e53e827e2495b0710e781964bc40d9674 (diff)
downloadeclipse.platform.swt-ccb9f3de46a5e7c6801a7cead1e3a8e938d90866.tar.gz
eclipse.platform.swt-ccb9f3de46a5e7c6801a7cead1e3a8e938d90866.tar.xz
eclipse.platform.swt-ccb9f3de46a5e7c6801a7cead1e3a8e938d90866.zip
Bug 531633 - Replace usage of System.getProperty("file.separator")
Change-Id: I609d4b7e6415a113e2afcf790cc72d9a7c6199c0 Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT Browser')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/IE.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/IE.java b/bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/IE.java
index 0f790edd2d..8613d61248 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/IE.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/IE.java
@@ -10,6 +10,7 @@
*******************************************************************************/
package org.eclipse.swt.browser;
+import java.io.*;
import java.net.*;
import java.util.*;
@@ -112,7 +113,7 @@ class IE extends WebBrowser {
static final String EXTENSION_PDF = ".pdf"; //$NON-NLS-1$
static final String HTML_DOCUMENT = "HTML Document"; //$NON-NLS-1$
static final int MAX_PDF = 20;
- static final char SEPARATOR_OS = System.getProperty ("file.separator").charAt (0); //$NON-NLS-1$
+ static final char SEPARATOR_OS = File.separatorChar;
static final String PROPERTY_IEVERSION = "org.eclipse.swt.browser.IEVersion"; //$NON-NLS-1$
static final String VALUE_DEFAULT = "default"; //$NON-NLS-1$

Back to the top