Updated toString methods according to @CyB3RC0nN0R s request
This commit is contained in:
parent
52768e5e88
commit
0d276cd3cd
@ -63,7 +63,5 @@ public class MessageStatusChangeEvent implements Event<Message.MessageStatus> {
|
|||||||
public Date getDate() { return date; }
|
public Date getDate() { return date; }
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() { return String.format("MessageStatusChangeEvent[id=%d,status=%s,date=%s]", id, status, date); }
|
||||||
return String.format("MessageStatusChangeEvent[message id=%d, to status=%s, at %s]", id, status.toString(), date.toString());
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -53,5 +53,5 @@ public class UserStatusChangeEvent implements Event<UserStatus> {
|
|||||||
public long getId() { return id; }
|
public long getId() { return id; }
|
||||||
|
|
||||||
@Override
|
@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); }
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user