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

Change-Id: Ifa23ab98ae8da53d7b86f55d8a6cce5cb6f4371f

scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/g2d/texture/G2DTextureManager.java

index 5712175..0429ea2 100644 (file)
@@ -84,7 +84,7 @@ public class G2DTextureManager implements TextureManager {
     /**
      * Inner class for {@link Texture} implementation.
      */
-    public class G2DTexture extends AbstractTexture implements Texture {
+    public static class G2DTexture extends AbstractTexture implements Texture {
 
         private ImageBuffer image;
         private TextureDrawer drawer;