From: David ‘Bombe’ Roden Date: Thu, 20 Sep 2012 09:43:50 +0000 (+0200) Subject: Change toString() of Node to only state hostname and post. X-Git-Tag: 0.11^2~10^2~17 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=8193430c589f2199922439658264667919084b22;p=jSite.git Change toString() of Node to only state hostname and post. --- 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()); } }