Commit cdb36aff authored by Nico Mack's avatar Nico Mack

Minor code smell fix

parent f149c6e4
...@@ -101,6 +101,7 @@ public abstract class SelectableCorona extends FadingCorona implements Selectabl ...@@ -101,6 +101,7 @@ public abstract class SelectableCorona extends FadingCorona implements Selectabl
*/ */
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------
@Override
public void addSelectionListener(SelectionListener listener) { public void addSelectionListener(SelectionListener listener) {
if (!listeners.contains(listener)) { if (!listeners.contains(listener)) {
listeners.add(listener); listeners.add(listener);
...@@ -113,6 +114,7 @@ public abstract class SelectableCorona extends FadingCorona implements Selectabl ...@@ -113,6 +114,7 @@ public abstract class SelectableCorona extends FadingCorona implements Selectabl
*/ */
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------
@Override
public void removeSelectionListener(SelectionListener listener) { public void removeSelectionListener(SelectionListener listener) {
if (listeners.contains(listener)) { if (listeners.contains(listener)) {
listeners.remove(listener); listeners.remove(listener);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment