Updated toString methods according to @CyB3RC0nN0R s request

This commit is contained in:
delvh 2020-02-04 21:27:20 +01:00
parent fbd81e9d24
commit 79efa7837b
2 changed files with 2 additions and 4 deletions

View File

@ -63,7 +63,5 @@ public class MessageStatusChangeEvent implements Event<Message.MessageStatus> {
public Date getDate() { return date; }
@Override
public String toString() {
return String.format("MessageStatusChangeEvent[message id=%d, to status=%s, at %s]", id, status.toString(), date.toString());
}
public String toString() { return String.format("MessageStatusChangeEvent[id=%d,status=%s,date=%s]", id, status, date); }
}

View File

@ -53,5 +53,5 @@ public class UserStatusChangeEvent implements Event<UserStatus> {
public long getId() { return id; }
@Override
public String toString() { return String.format("UserStatusChangeEvent[user with id=%d, to status=%s]", id, status.toString()); }
public String toString() { return String.format("UserStatusChangeEvent[id=%d,status=%s]", id, status); }
}