diff --git a/app/src/main/java/info/nightscout/androidaps/events/Event.java b/app/src/main/java/info/nightscout/androidaps/events/Event.java index 77d1215362..864d55d6f7 100644 --- a/app/src/main/java/info/nightscout/androidaps/events/Event.java +++ b/app/src/main/java/info/nightscout/androidaps/events/Event.java @@ -1,9 +1,14 @@ package info.nightscout.androidaps.events; import org.apache.commons.lang3.builder.ReflectionToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** Base class for all events posted on the event bus. */ public abstract class Event { + static { + ReflectionToStringBuilder.setDefaultStyle(ToStringStyle.SHORT_PREFIX_STYLE); + } + @Override public String toString() { return ReflectionToStringBuilder.toString(this);