From: David ‘Bombe’ Roden Date: Fri, 15 Oct 2010 06:58:05 +0000 (+0200) Subject: Output class name, we might be a Shell. X-Git-Tag: 0.1-RC1~344 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=0718135c70c14c2e438cc31382fea6207e993701;p=Sone.git Output class name, we might be a Shell. --- diff --git a/src/main/java/net/pterodactylus/sone/data/Sone.java b/src/main/java/net/pterodactylus/sone/data/Sone.java index 5fd601b..588c7af 100644 --- a/src/main/java/net/pterodactylus/sone/data/Sone.java +++ b/src/main/java/net/pterodactylus/sone/data/Sone.java @@ -355,7 +355,7 @@ public class Sone { */ @Override public String toString() { - return getName() + "[id=" + getId() + ",requestUri=" + getRequestUri() + ",insertUri=" + getInsertUri() + ",posts(" + posts.size() + "),replies(" + replies.size() + ")]"; + return getClass().getName() + "[id=" + getId() + ",name=" + getName() + ",requestUri=" + getRequestUri() + ",insertUri=" + getInsertUri() + ",posts(" + posts.size() + "),replies(" + replies.size() + ")]"; } }