CoverityFix-CID:1350913 Suspicious calls to generic collection methods 79/19979/1
Nimish Kapoor [Sun, 29 Apr 2018 09:29:28 +0000 (14:29 +0530)]
Change-Id: If80fb888b58b4eadd7415d67e68a4cae05b0140a

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);
     }
 
     /**