Implement Object.toString().
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sun, 16 Jan 2011 13:46:20 +0000 (14:46 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sun, 16 Jan 2011 13:46:20 +0000 (14:46 +0100)
src/main/java/net/pterodactylus/sone/freenet/wot/Trust.java

index 975dd3f..5891c04 100644 (file)
@@ -79,4 +79,12 @@ public class Trust {
                return distance;
        }
 
+       /**
+        * {@inheritDoc}
+        */
+       @Override
+       public String toString() {
+               return getClass().getName() + "[explicit=" + explicit + ",implicit=" + implicit + ",distance=" + distance + "]";
+       }
+
 }