From: David ‘Bombe’ Roden Date: Thu, 11 Jul 2013 20:46:17 +0000 (+0200) Subject: Show number of albums in toString(). X-Git-Tag: 0.8.7^2~34 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=abf62ec9f00f472152351e642e3e73a0743bae0e;p=Sone.git Show number of albums in toString(). --- diff --git a/src/main/java/net/pterodactylus/sone/data/Sone.java b/src/main/java/net/pterodactylus/sone/data/Sone.java index eb52860..6bee1c1 100644 --- a/src/main/java/net/pterodactylus/sone/data/Sone.java +++ b/src/main/java/net/pterodactylus/sone/data/Sone.java @@ -875,7 +875,7 @@ public class Sone implements Fingerprintable, Comparable { /** {@inheritDoc} */ @Override public String toString() { - return getClass().getName() + "[identity=" + identity + ",requestUri=" + requestUri + ",insertUri(" + String.valueOf(insertUri).length() + "),friends(" + friendSones.size() + "),posts(" + posts.size() + "),replies(" + replies.size() + ")]"; + return getClass().getName() + "[identity=" + identity + ",requestUri=" + requestUri + ",insertUri(" + String.valueOf(insertUri).length() + "),friends(" + friendSones.size() + "),posts(" + posts.size() + "),replies(" + replies.size() + "),albums(" + getRootAlbum().getAlbums().size() + ")]"; } }