From ae76024011a8442ae7eab953e0b97e9fe2c7c201 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Tue, 25 Sep 2018 11:53:37 +0300 Subject: reorganize layout --- .../java/com/juick/server/component/LikeEvent.java | 36 ---------------------- 1 file changed, 36 deletions(-) delete mode 100644 juick-common/src/main/java/com/juick/server/component/LikeEvent.java (limited to 'juick-common/src/main/java/com/juick/server/component/LikeEvent.java') diff --git a/juick-common/src/main/java/com/juick/server/component/LikeEvent.java b/juick-common/src/main/java/com/juick/server/component/LikeEvent.java deleted file mode 100644 index 678a84a9..00000000 --- a/juick-common/src/main/java/com/juick/server/component/LikeEvent.java +++ /dev/null @@ -1,36 +0,0 @@ -package com.juick.server.component; - -import com.juick.Message; -import com.juick.User; -import org.springframework.context.ApplicationEvent; - -import java.util.List; - -public class LikeEvent extends ApplicationEvent { - private User user; - private Message message; - private List subscribers; - /** - * Create a new ApplicationEvent. - * - * @param source the object on which the event initially occurred (never {@code null}) - */ - public LikeEvent(Object source, User user, Message message, List subscribers) { - super(source); - this.message = message; - this.user = user; - this.subscribers = subscribers; - } - - public User getUser() { - return user; - } - - public Message getMessage() { - return message; - } - - public List getSubscribers() { - return subscribers; - } -} -- cgit v1.2.3