tmf/lttng: Remove unneeded (non-Javadoc) comments
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui / src / org / eclipse / linuxtools / tmf / ui / views / uml2sd / handlers / MoveSDUp.java
index 3cb3bbfa79d667e209bcc6606c4e5156d5f71314..d0fa8482ebfb6ec9a9003f4a30abc2b7638df30a 100755 (executable)
@@ -1,16 +1,15 @@
 /**********************************************************************
- * Copyright (c) 2005, 2006 IBM Corporation and others.
- * Copyright (c) 2011, 2012 Ericsson.
- *
+ * Copyright (c) 2005, 2013 IBM Corporation, Ericsson
  * All rights reserved.   This program and the accompanying materials
  * are made available under the terms of the Eclipse Public License v1.0
  * which accompanies this distribution, and is available at
  * http://www.eclipse.org/legal/epl-v10.html
  *
  * Contributors:
- * IBM - Initial API and implementation
- * Bernd Hufmann - Updated for TMF
+ *     IBM - Initial API and implementation
+ *     Bernd Hufmann - Updated for TMF
  **********************************************************************/
+
 package org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers;
 
 import org.eclipse.jface.action.Action;
@@ -61,22 +60,19 @@ public class MoveSDUp extends Action {
         super();
         setId(ID);
         setActionDefinitionId(ID);
-        fView = ((SDView) view);
+        fView = view;
     }
 
     // ------------------------------------------------------------------------
     // Methods
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.action.Action#run()
-     */
+
     @Override
     public void run() {
         if (fView == null) {
             return;
         }
-        SDWidget viewer = ((SDView) fView).getSDWidget();
+        SDWidget viewer = fView.getSDWidget();
 
         if (viewer != null) {
             viewer.scrollBy(0, -viewer.getVisibleHeight());
This page took 0.024068 seconds and 5 git commands to generate.