rcp: Bug 486745: Open traces with name conflict from cmd-line correctly
authorBernd Hufmann <Bernd.Hufmann@ericsson.com>
Thu, 28 Jan 2016 16:42:02 +0000 (11:42 -0500)
committerBernd Hufmann <bernd.hufmann@ericsson.com>
Thu, 28 Jan 2016 18:20:44 +0000 (13:20 -0500)
Change-Id: I4cff3ef47fc52df07c7e0b4df3bab44fdc2e2344
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/65378
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Hudson CI
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/project/model/TmfOpenTraceHelper.java

index 1541440878402d6e6fa21018de7c7f01a879dc5e..6281b56a57b43a04a36c48732f73757fcbfc1f2a 100644 (file)
@@ -188,7 +188,7 @@ public class TmfOpenTraceHelper {
             final IPath rawLocation = candidate.getRawLocation();
             File file = rawLocation.toFile();
             try {
-                file = traceFile.getCanonicalFile();
+                file = file.getCanonicalFile();
             } catch (IOException e) {
                 /* just use original file path */
             }
This page took 0.027385 seconds and 5 git commands to generate.