Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/internal/tmf/ui/project/handlers/RenameTraceHandler.java')
-rw-r--r--lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/internal/tmf/ui/project/handlers/RenameTraceHandler.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/internal/tmf/ui/project/handlers/RenameTraceHandler.java b/lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/internal/tmf/ui/project/handlers/RenameTraceHandler.java
index 6a611a1ac1..d5d77821f1 100644
--- a/lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/internal/tmf/ui/project/handlers/RenameTraceHandler.java
+++ b/lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/internal/tmf/ui/project/handlers/RenameTraceHandler.java
@@ -53,9 +53,9 @@ import org.eclipse.ui.actions.WorkspaceModifyOperation;
*/
public class RenameTraceHandler extends AbstractHandler {
- private TmfTraceElement fTrace = null;
+ private TmfTraceElement fTrace = null;
- // ------------------------------------------------------------------------
+ // ------------------------------------------------------------------------
// isEnabled
// ------------------------------------------------------------------------
@@ -84,10 +84,10 @@ public class RenameTraceHandler extends AbstractHandler {
fTrace = null;
if (selection instanceof TreeSelection) {
TreeSelection sel = (TreeSelection) selection;
- // There should be only one item selected as per the plugin.xml
+ // There should be only one item selected as per the plugin.xml
Object element = sel.getFirstElement();
if (element instanceof TmfTraceElement) {
- fTrace = (TmfTraceElement) element;
+ fTrace = (TmfTraceElement) element;
}
}

Back to the top