This commit is contained in:
DieGurke 2020-03-26 15:49:08 +01:00
parent 1909b9748a
commit 4a26ef8c4a
2 changed files with 3 additions and 15 deletions

View File

@ -15,7 +15,7 @@ import java.util.StringJoiner;
public class Group extends Contact {
// TODO add admins
private List<Long> memberIDs;
private final List<Long> memberIDs;
private static final long serialVersionUID = 0L;
@ -47,12 +47,6 @@ public class Group extends Contact {
*/
public List<Long> getMemberIDs() { return memberIDs; }
/**
* @param memberIDs the member IDs to set
* @since Envoy Common v0.1-beta
*/
public void setMemberIDs(List<Long> memberIDs) { this.memberIDs = memberIDs; }
/**
* {@inheritDoc}
*/

View File

@ -20,7 +20,7 @@ import envoy.data.User;
public class GroupResizeEvent extends Event<Long> {
private final long groupID;
private Operation operation;
private final Operation operation;
private static final long serialVersionUID = 0L;
@ -80,13 +80,7 @@ public class GroupResizeEvent extends Event<Long> {
* @return the operationType
* @since Envoy Common v0.1-beta
*/
public Operation getOperationType() { return operation; }
/**
* @param operation the operationType to set
* @since Envoy Common v0.1-beta
*/
public void setOperationType(Operation operation) { this.operation = operation; }
public Operation getOperation() { return operation; }
/**
* {@inheritDoc}