From 0a271b6da7ee70df5d1d491737468e86df898330 Mon Sep 17 00:00:00 2001 From: sgoudham Date: Thu, 22 Jul 2021 23:18:43 +0100 Subject: [PATCH] Reformat Code --- src/main/java/me/goudham/listener/ClipboardListener.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/me/goudham/listener/ClipboardListener.java b/src/main/java/me/goudham/listener/ClipboardListener.java index 79230b4..e68851c 100644 --- a/src/main/java/me/goudham/listener/ClipboardListener.java +++ b/src/main/java/me/goudham/listener/ClipboardListener.java @@ -6,8 +6,6 @@ import java.util.List; public abstract class ClipboardListener { List eventsListener = new ArrayList<>(); - public abstract void execute(); - public void addEventListener(ClipboardEvent clipboardEvent) { if (!eventsListener.contains(clipboardEvent)) { eventsListener.add(clipboardEvent); @@ -17,4 +15,6 @@ public abstract class ClipboardListener { public void removeEventListener(ClipboardEvent clipboardEvent) { eventsListener.remove(clipboardEvent); } + + public abstract void execute(); }