Address review comments (rename event, fix annotations, final field)

This commit is contained in:
Torsten Grote
2016-12-09 13:54:39 -02:00
parent d04dda1566
commit 7c6232db9d
9 changed files with 29 additions and 27 deletions

View File

@@ -10,12 +10,12 @@ import javax.annotation.concurrent.Immutable;
@Immutable
@NotNullByDefault
public class ShareableLeftEvent extends Event {
public class ContactLeftShareableEvent extends Event {
private final GroupId groupId;
private final ContactId contactId;
public ShareableLeftEvent(GroupId groupId, ContactId contactId) {
public ContactLeftShareableEvent(GroupId groupId, ContactId contactId) {
this.groupId = groupId;
this.contactId = contactId;
}