From 3c8b5291ed95afade5b52adf48629e9f3cc7fe1e Mon Sep 17 00:00:00 2001 From: kske Date: Wed, 12 Feb 2020 22:15:42 +0100 Subject: [PATCH] Fixed Event.Valueless#toString() to not display the null value --- src/main/java/envoy/event/Event.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/envoy/event/Event.java b/src/main/java/envoy/event/Event.java index 9d42bf5..5b13306 100644 --- a/src/main/java/envoy/event/Event.java +++ b/src/main/java/envoy/event/Event.java @@ -42,5 +42,8 @@ public abstract class Event implements Serializable { private static final long serialVersionUID = -9019362144094097997L; protected Valueless() { super(null); } + + @Override + public String toString() { return this.getClass().getSimpleName(); } } }