Change toString() of Node to only state hostname and post.
authorDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Thu, 20 Sep 2012 09:43:50 +0000 (11:43 +0200)
committerDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Thu, 20 Sep 2012 09:43:50 +0000 (11:43 +0200)
src/main/java/de/todesbaum/util/freenet/fcp2/Node.java

index 71c2a6e..4347d30 100644 (file)
@@ -87,7 +87,7 @@ public class Node {
         */
        @Override
        public String toString() {
-               return String.format("%s[hostname=%s,port=%d]", getClass().getName(), getHostname(), getPort());
+               return String.format("%s:%d", getHostname(), getPort());
        }
 
 }