X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Futil%2FListenList.java;fp=src%2Fjalview%2Futil%2FListenList.java;h=0000000000000000000000000000000000000000;hb=6a96f4eadde2fe2d2053c41972e43dbbeaae81f9;hp=cc0fc5aed15faaa6214989c5e0a0152fe414e5a2;hpb=3d30b280c7357be469650c6102b436a2ae03497d;p=jalview.git diff --git a/src/jalview/util/ListenList.java b/src/jalview/util/ListenList.java deleted file mode 100755 index cc0fc5a..0000000 --- a/src/jalview/util/ListenList.java +++ /dev/null @@ -1,28 +0,0 @@ -package jalview.util; - -import java.util.*; - -public class ListenList { - protected Vector listeners; - public ListenList() { - listeners = new Vector(); - } - - public void addListener(EventListener l) { - if (l == null) { - return; - } - if (!listeners.contains(l)) { - listeners.addElement(l); - } - } - - public void removeListener(EventListener l) { - if (l == null) { - return; - } - if (listeners.contains(l)) { - listeners.removeElement(l); - } - } -}