CoverityFix-CID:1351078 Inner class could be made static 58/20358/2
Nimish Kapoor [Fri, 27 Jul 2018 19:40:45 +0000 (00:40 +0530)]
This class is an inner class, but does not use its embedded reference to the
object which created it.

Change-Id: Ic0f1dff108aec23417a92648a9f3578b69b45f4b

scilab/modules/xcos/src/java/org/scilab/modules/xcos/io/ScilabTypeCoder.java

index 3493df9..b7ef697 100644 (file)
@@ -53,7 +53,7 @@ public class ScilabTypeCoder {
 
     private static final Logger LOG = Logger.getLogger("org.scilab.modules.xcos.io");
 
-    class JavaScilabType {
+    static class JavaScilabType {
 
         final ScilabTypeEnum type;
         final ScilabIntegerTypeEnum intType;