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

Change-Id: I533a633f918f9f69ac9c1f40c257bfc006d46c75

scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/interaction/RubberBox.java

index 26dca16..b96e2fe 100644 (file)
@@ -58,7 +58,7 @@ import org.scilab.modules.localization.Messages;
  */
 public class RubberBox extends FigureInteraction implements PostRendered, MouseListener, MouseMotionListener, KeyListener {
 
-    protected class AxesZoom {
+    protected static class AxesZoom {
 
         public final Axes axes;
         public PointComputer pointAComputer;