diff --git a/src/main/java/envoy/data/Group.java b/src/main/java/envoy/data/Group.java index abc51d0..077ff40 100644 --- a/src/main/java/envoy/data/Group.java +++ b/src/main/java/envoy/data/Group.java @@ -15,7 +15,7 @@ import java.util.StringJoiner; public class Group extends Contact { // TODO add admins - private List memberIDs; + private final List memberIDs; private static final long serialVersionUID = 0L; @@ -47,12 +47,6 @@ public class Group extends Contact { */ public List getMemberIDs() { return memberIDs; } - /** - * @param memberIDs the member IDs to set - * @since Envoy Common v0.1-beta - */ - public void setMemberIDs(List memberIDs) { this.memberIDs = memberIDs; } - /** * {@inheritDoc} */ diff --git a/src/main/java/envoy/event/GroupResizeEvent.java b/src/main/java/envoy/event/GroupResizeEvent.java index be5ac33..110ea9b 100644 --- a/src/main/java/envoy/event/GroupResizeEvent.java +++ b/src/main/java/envoy/event/GroupResizeEvent.java @@ -20,7 +20,7 @@ import envoy.data.User; public class GroupResizeEvent extends Event { 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 { * @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}