Output class name, we might be a Shell.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 15 Oct 2010 06:58:05 +0000 (08:58 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 15 Oct 2010 06:58:05 +0000 (08:58 +0200)
src/main/java/net/pterodactylus/sone/data/Sone.java

index 5fd601b..588c7af 100644 (file)
@@ -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() + ")]";
        }
 
 }