Removed user id from Contacts
This commit is contained in:
		@@ -13,7 +13,6 @@ import java.util.List;
 | 
				
			|||||||
 */
 | 
					 */
 | 
				
			||||||
public class Contacts implements Serializable {
 | 
					public class Contacts implements Serializable {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	private final long			userId;
 | 
					 | 
				
			||||||
	private final List<User>	contacts;
 | 
						private final List<User>	contacts;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	private static final long serialVersionUID = 136970804968152871L;
 | 
						private static final long serialVersionUID = 136970804968152871L;
 | 
				
			||||||
@@ -25,20 +24,13 @@ public class Contacts implements Serializable {
 | 
				
			|||||||
	 * @param contacts the contact list
 | 
						 * @param contacts the contact list
 | 
				
			||||||
	 * @since Envoy Common v0.2-alpha
 | 
						 * @since Envoy Common v0.2-alpha
 | 
				
			||||||
	 */
 | 
						 */
 | 
				
			||||||
	public Contacts(long userId, List<User> contacts) {
 | 
						public Contacts(List<User> contacts) {
 | 
				
			||||||
		this.userId		= userId;
 | 
					 | 
				
			||||||
		this.contacts	= contacts;
 | 
							this.contacts	= contacts;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	@Override
 | 
						@Override
 | 
				
			||||||
	public String toString() { return String.format("Contacts[%s]", contacts); }
 | 
						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
 | 
						 * @return a list of users messages can be sent to
 | 
				
			||||||
	 * @since Envoy Common v0.2-alpha
 | 
						 * @since Envoy Common v0.2-alpha
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user