Reformat Code

main
sgoudham 3 years ago
parent 23d677beca
commit 0a271b6da7
No known key found for this signature in database
GPG Key ID: EF51A29A50FB754C

@ -6,8 +6,6 @@ import java.util.List;
public abstract class ClipboardListener { public abstract class ClipboardListener {
List<ClipboardEvent> eventsListener = new ArrayList<>(); List<ClipboardEvent> eventsListener = new ArrayList<>();
public abstract void execute();
public void addEventListener(ClipboardEvent clipboardEvent) { public void addEventListener(ClipboardEvent clipboardEvent) {
if (!eventsListener.contains(clipboardEvent)) { if (!eventsListener.contains(clipboardEvent)) {
eventsListener.add(clipboardEvent); eventsListener.add(clipboardEvent);
@ -17,4 +15,6 @@ public abstract class ClipboardListener {
public void removeEventListener(ClipboardEvent clipboardEvent) { public void removeEventListener(ClipboardEvent clipboardEvent) {
eventsListener.remove(clipboardEvent); eventsListener.remove(clipboardEvent);
} }
public abstract void execute();
} }

Loading…
Cancel
Save