Remove some java warnings (redundant declarations)
[scilab.git] / scilab / modules / gui / src / java / org / scilab / modules / gui / ged / Inspector.java
index 1174366..21771c9 100644 (file)
@@ -94,7 +94,7 @@ public class Inspector {
             }
         } else {
             SwingScilabWindow window = (SwingScilabWindow) SwingUtilities.getAncestorOfClass
-                                       (SwingScilabWindow.class, (SwingInspector) inspectorTab);
+                                       (SwingScilabWindow.class, inspectorTab);
             window.setVisible(true);
             window.toFront();
             new SwapObject(objectID);