Added toString method.
This commit is contained in:
parent
2dc206dadb
commit
be9a146440
1 changed files with 6 additions and 0 deletions
|
@ -181,4 +181,10 @@ public class Message {
|
||||||
public void setPrivate(final boolean isPrivate) {
|
public void setPrivate(final boolean isPrivate) {
|
||||||
this.isPrivate = isPrivate;
|
this.isPrivate = isPrivate;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return "Message{" + "color='" + color + '\'' + ", isError=" + isError + ", isNotice=" + isNotice
|
||||||
|
+ ", isPrivate=" + isPrivate + ", msg='" + msg + '\'' + '}';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue