DESCRIPTION

lttng: remove unnecessary slashes in session path for remote import

Bug 425082

Change-Id: Ie94e3d7125ce7ce1dc1ef2ab85a0d76738a67dae
Signed-off-by: Ricky Reeves <Meredith xxx@xxx.xxx


COMMENTS

author: Brenden Conley
date: 2014-01-08 13:09:10.000000000

Patch Set 1:

Build Started https://hudson.eclipse.org/linuxtools/job/linuxtools-gerrit/4942/

-------------------------------------
author: Brenden Conley
date: 2014-01-08 13:39:49.000000000

Patch Set 1: Verified+1

Build Successful 

https://hudson.eclipse.org/linuxtools/job/linuxtools-gerrit/4942/ : SUCCESS

-------------------------------------
author: Kaeden Tapia
date: 2014-01-10 01:58:48.000000000

Patch Set 1:

(1 comment)

Line:262, lttng/org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/dialogs/ImportDialog.java -> I worry there might be other cases like with ../ or ./ For example /path/to/../somewhere. Maybe you could try using the Path class? You could do something like new Path(path).toString(). That should take care of removing the slashes and the ../  ./ etc.

-------------------------------------
author: Ricky Reeves
date: 2014-01-10 15:22:51.000000000

Patch Set 1:

(1 comment)

Line:262, lttng/org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/dialogs/ImportDialog.java -> Good suggestion to use Path. I'll try that.

-------------------------------------
