Cleaned up Editor: removed warnings; cleaned listener system
[Mograsim.git] / plugins / net.mograsim.logic.model.editor / src / net / mograsim / logic / model / editor / handles / ComponentHandle.java
index 14868e9..2330073 100644 (file)
@@ -29,7 +29,7 @@ public class ComponentHandle extends Handle
                this.parent = parent;
                Rectangle bounds = parent.getBounds();
                setSize(bounds.width, bounds.height);
-               parent.addComponentResizedListener((c) ->
+               parent.addComponentResizedListener(c ->
                {
                        Rectangle pBounds = c.getBounds();
                        setSize(pBounds.width, pBounds.height);