From 8193430c589f2199922439658264667919084b22 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Thu, 20 Sep 2012 11:43:50 +0200 Subject: [PATCH] Change toString() of Node to only state hostname and post. --- src/main/java/de/todesbaum/util/freenet/fcp2/Node.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/de/todesbaum/util/freenet/fcp2/Node.java b/src/main/java/de/todesbaum/util/freenet/fcp2/Node.java index 71c2a6e..4347d30 100644 --- a/src/main/java/de/todesbaum/util/freenet/fcp2/Node.java +++ b/src/main/java/de/todesbaum/util/freenet/fcp2/Node.java @@ -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()); } } -- 2.7.4