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 { public class Group extends Contact {
// TODO add admins // TODO add admins
private List<Long> memberIDs; private final List<Long> memberIDs;
private static final long serialVersionUID = 0L; private static final long serialVersionUID = 0L;
@ -47,12 +47,6 @@ public class Group extends Contact {
*/ */
public List<Long> getMemberIDs() { return memberIDs; } 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} * {@inheritDoc}
*/ */

View File

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