From: David ‘Bombe’ Roden Date: Wed, 10 Nov 2010 13:24:24 +0000 (+0100) Subject: Do not log the insert URI but only its length (to distinguish null from a valid value). X-Git-Tag: 0.2~3 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=3f63438bc247849e8f454478a262fc8d9176991d;p=Sone.git Do not log the insert URI but only its length (to distinguish null from a valid value). --- diff --git a/src/main/java/net/pterodactylus/sone/data/Sone.java b/src/main/java/net/pterodactylus/sone/data/Sone.java index 4195484..6467c20 100644 --- a/src/main/java/net/pterodactylus/sone/data/Sone.java +++ b/src/main/java/net/pterodactylus/sone/data/Sone.java @@ -621,7 +621,7 @@ public class Sone { */ @Override public String toString() { - return getClass().getName() + "[identity=" + identity + ",requestUri=" + requestUri + ",insertUri=" + insertUri + ",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() + ")]"; } }