From: David ‘Bombe’ Roden Date: Sun, 16 Jan 2011 13:46:20 +0000 (+0100) Subject: Implement Object.toString(). X-Git-Tag: 0.4.2^2~47 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=8b6f94fd02e78cea2efa0d6e235258d21cfe0f87;p=Sone.git Implement Object.toString(). --- diff --git a/src/main/java/net/pterodactylus/sone/freenet/wot/Trust.java b/src/main/java/net/pterodactylus/sone/freenet/wot/Trust.java index 975dd3f..5891c04 100644 --- a/src/main/java/net/pterodactylus/sone/freenet/wot/Trust.java +++ b/src/main/java/net/pterodactylus/sone/freenet/wot/Trust.java @@ -79,4 +79,12 @@ public class Trust { return distance; } + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return getClass().getName() + "[explicit=" + explicit + ",implicit=" + implicit + ",distance=" + distance + "]"; + } + }