Fix static analysis warnings for UML2SD
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui / src / org / eclipse / linuxtools / tmf / ui / views / uml2sd / handlers / PrevPage.java
index 612a53297be17042eae39af3fd10e9b7907f625b..f2b2849ea3a3360581a5993473556af0512afc45 100755 (executable)
@@ -44,7 +44,7 @@ public class PrevPage extends Action {
     /**
      * The sequence diagram view reference.
      */
-    protected SDView view = null;
+    protected SDView fView = null;
 
     // ------------------------------------------------------------------------
     // Constructors
@@ -53,11 +53,11 @@ public class PrevPage extends Action {
     /**
      * Default constructor 
      * 
-     * @param theView the view reference
+     * @param view the view reference
      */
-    public PrevPage(SDView theView) {
+    public PrevPage(SDView view) {
         super();
-        view = theView;
+        fView = view;
         setText(SDMessages._35);
         setToolTipText(SDMessages._37);
         setId(ID); 
@@ -73,13 +73,13 @@ public class PrevPage extends Action {
      */
     @Override
     public void run() {
-        if ((view == null) || (view.getSDWidget()) == null) {
+        if ((fView == null) || (fView.getSDWidget()) == null) {
             return;
         }
-        if (view.getSDPagingProvider() != null) {
-            view.getSDPagingProvider().prevPage();
+        if (fView.getSDPagingProvider() != null) {
+            fView.getSDPagingProvider().prevPage();
         }
-        view.updateCoolBar();
-        view.getSDWidget().redraw();
+        fView.updateCoolBar();
+        fView.getSDWidget().redraw();
     }
 }
This page took 0.030517 seconds and 5 git commands to generate.