Fixed Event.Valueless#toString() to not display the null value
This commit is contained in:
parent
55e3630f6e
commit
eacfefb836
@ -42,5 +42,8 @@ public abstract class Event<T> implements Serializable {
|
|||||||
private static final long serialVersionUID = -9019362144094097997L;
|
private static final long serialVersionUID = -9019362144094097997L;
|
||||||
|
|
||||||
protected Valueless() { super(null); }
|
protected Valueless() { super(null); }
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() { return this.getClass().getSimpleName(); }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user