tmf.ui.swtbot: Fix missing @Override in SWTBotSash.getBounds()
[deliverable/tracecompass.git] / tmf / org.eclipse.tracecompass.tmf.ui.swtbot.tests / shared / org / eclipse / tracecompass / tmf / ui / swtbot / tests / shared / SWTBotSash.java
index 7d60c2ceffc88e4b1bed676be7d91460e990b076..8f0ace219566447e6d438d28273b3e0ddea3ffe2 100644 (file)
@@ -38,18 +38,9 @@ public class SWTBotSash extends AbstractSWTBotControl<Sash> {
         super(w);
     }
 
-    /**
-     * Get the bounds of the sash
-     *
-     * @return the bounds relative to the parent
-     */
+    @Override
     public Rectangle getBounds() {
-        return syncExec(new Result<Rectangle>() {
-            @Override
-            public Rectangle run() {
-                return widget.getBounds();
-            }
-        });
+        return super.getBounds();
     }
 
     /**
This page took 0.026192 seconds and 5 git commands to generate.