CoverityFix-CID:1350913 Suspicious calls to generic collection methods
[scilab.git] / scilab / modules / gui / src / java / org / scilab / modules / gui / tabfactory / ScilabTabFactory.java
index e3e0567..920b706 100644 (file)
@@ -104,7 +104,7 @@ public class ScilabTabFactory extends DockableFactory.Stub {
      * @param factory the factory to remove
      */
     public void removeTabFactory(AbstractScilabTabFactory factory) {
-        factories.remove(factory);
+        factories.values().remove(factory);
     }
 
     /**