Resolved requests

This commit is contained in:
DieGurke 2020-06-11 14:00:07 +02:00
parent 3c56cd5ff9
commit 037fcb1ccc
5 changed files with 6 additions and 6 deletions

View File

@ -47,7 +47,6 @@ public final class Group extends Contact {
outputStream.defaultWriteObject(); outputStream.defaultWriteObject();
getContacts().forEach(user -> user.serializeContacts(false)); getContacts().forEach(user -> user.serializeContacts(false));
outputStream.writeObject(getContacts()); outputStream.writeObject(getContacts());
} }
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")

View File

@ -55,7 +55,6 @@ public final class GroupMessage extends Message {
case RECEIVED: case RECEIVED:
setReceivedDate(new Date()); setReceivedDate(new Date());
break; break;
case READ: case READ:
setReadDate(new Date()); setReadDate(new Date());
break; break;

View File

@ -21,7 +21,7 @@ public final class User extends Contact {
private UserStatus status; 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; private transient boolean serializeContacts = true;

View File

@ -13,14 +13,16 @@ package envoy.event;
* @since Envoy Common v0.1-beta * @since Envoy Common v0.1-beta
*/ */
public enum ElementOperation { public enum ElementOperation {
/** /**
* Select this element, if the given element should be added to the given * Select this element, if the given element should be added to the given
* container * container.
*/ */
ADD, ADD,
/** /**
* Select this element, if the given element should be removed from the given * Select this element, if the given element should be removed from the given
* container * container.
*/ */
REMOVE REMOVE
} }

View File

@ -8,7 +8,7 @@ import envoy.data.User;
* This event is used to communicate changes in the group size between client * This event is used to communicate changes in the group size between client
* and server.<br> * and server.<br>
* Possible actions are adding or removing certain {@link User}s to or from a * Possible actions are adding or removing certain {@link User}s to or from a
* certain {@link Group} * certain {@link Group}.
* <br> * <br>
* Project: <strong>envoy-common</strong><br> * Project: <strong>envoy-common</strong><br>
* File: <strong>GroupResizeEvent.java</strong><br> * File: <strong>GroupResizeEvent.java</strong><br>