From efe5fd30ce84f98b7932707908569e48cf06a60e Mon Sep 17 00:00:00 2001 From: DieGurke <55625494+DieGurke@users.noreply.github.com> Date: Sat, 8 Feb 2020 13:44:05 +0100 Subject: [PATCH] Removed user id from Contacts --- src/main/java/envoy/data/Contacts.java | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/main/java/envoy/data/Contacts.java b/src/main/java/envoy/data/Contacts.java index bd19102..12846ac 100644 --- a/src/main/java/envoy/data/Contacts.java +++ b/src/main/java/envoy/data/Contacts.java @@ -13,7 +13,6 @@ import java.util.List; */ public class Contacts implements Serializable { - private final long userId; private final List contacts; private static final long serialVersionUID = 136970804968152871L; @@ -25,20 +24,13 @@ public class Contacts implements Serializable { * @param contacts the contact list * @since Envoy Common v0.2-alpha */ - public Contacts(long userId, List contacts) { - this.userId = userId; + public Contacts(List contacts) { this.contacts = contacts; } @Override public String toString() { return String.format("Contacts[%s]", contacts); } - /** - * @return the ID of the user this contacts belong to - * @since Envoy Common v0.2-alpha - */ - public long getUserId() { return userId; } - /** * @return a list of users messages can be sent to * @since Envoy Common v0.2-alpha