diff --git a/src/main/java/envoy/data/Group.java b/src/main/java/envoy/data/Group.java index bec17be..4eb6b02 100644 --- a/src/main/java/envoy/data/Group.java +++ b/src/main/java/envoy/data/Group.java @@ -47,7 +47,6 @@ public final class Group extends Contact { outputStream.defaultWriteObject(); getContacts().forEach(user -> user.serializeContacts(false)); outputStream.writeObject(getContacts()); - } @SuppressWarnings("unchecked") diff --git a/src/main/java/envoy/data/GroupMessage.java b/src/main/java/envoy/data/GroupMessage.java index 234c354..a2f8488 100644 --- a/src/main/java/envoy/data/GroupMessage.java +++ b/src/main/java/envoy/data/GroupMessage.java @@ -55,7 +55,6 @@ public final class GroupMessage extends Message { case RECEIVED: setReceivedDate(new Date()); break; - case READ: setReadDate(new Date()); break; diff --git a/src/main/java/envoy/data/User.java b/src/main/java/envoy/data/User.java index 01b2439..7751ce3 100644 --- a/src/main/java/envoy/data/User.java +++ b/src/main/java/envoy/data/User.java @@ -21,7 +21,7 @@ public final class User extends Contact { private UserStatus status; /** - * Used to serialize contact list to a maximum depth of one + * Used to serialize contact list to a maximum depth of one. */ private transient boolean serializeContacts = true; diff --git a/src/main/java/envoy/event/ElementOperation.java b/src/main/java/envoy/event/ElementOperation.java index e0ed0df..b7d4c10 100644 --- a/src/main/java/envoy/event/ElementOperation.java +++ b/src/main/java/envoy/event/ElementOperation.java @@ -13,14 +13,16 @@ package envoy.event; * @since Envoy Common v0.1-beta */ public enum ElementOperation { + /** * Select this element, if the given element should be added to the given - * container + * container. */ ADD, + /** * Select this element, if the given element should be removed from the given - * container + * container. */ REMOVE } diff --git a/src/main/java/envoy/event/GroupResizeEvent.java b/src/main/java/envoy/event/GroupResizeEvent.java index a0d8d40..46952d5 100644 --- a/src/main/java/envoy/event/GroupResizeEvent.java +++ b/src/main/java/envoy/event/GroupResizeEvent.java @@ -8,7 +8,7 @@ import envoy.data.User; * This event is used to communicate changes in the group size between client * and server.
* Possible actions are adding or removing certain {@link User}s to or from a - * certain {@link Group} + * certain {@link Group}. *
* Project: envoy-common
* File: GroupResizeEvent.java