tmf: Do not use OS String for import trace wizard destination path
authorPatrick Tasse <patrick.tasse@gmail.com>
Tue, 11 Feb 2014 14:48:35 +0000 (09:48 -0500)
committerMarc-Andre Laperle <marc-andre.laperle@ericsson.com>
Fri, 14 Feb 2014 22:58:23 +0000 (17:58 -0500)
Change-Id: Id6f13335027cbbf748f3251be7ed35d0ec6d1545
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/21842
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
IP-Clean: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/project/wizards/importtrace/ImportTraceWizardPage.java

index a5d6eec452081efb17d0dc259c3dba000efa469d..3f6f37119307a229c926ab148730e9a60fdcb528 100644 (file)
@@ -204,7 +204,7 @@ public class ImportTraceWizardPage extends WizardResourceImportPage {
         // Set the target trace folder
         if (traceFolder != null) {
             fTargetFolder = traceFolder;
-            String path = traceFolder.getFullPath().toOSString();
+            String path = traceFolder.getFullPath().toString();
             setContainerFieldValue(path);
         }
     }
@@ -369,7 +369,7 @@ public class ImportTraceWizardPage extends WizardResourceImportPage {
                     public void run() {
                         synchronized (fIsDestinationChanged) {
                             fIsDestinationChanged = true;
-                            String path = fTargetFolder.getFullPath().toOSString();
+                            String path = fTargetFolder.getFullPath().toString();
                             setContainerFieldValue(path);
                         }
                     }
This page took 0.02556 seconds and 5 git commands to generate.