projects
/
jSite.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
📄 Update year in copyright line
[jSite.git]
/
src
/
main
/
java
/
de
/
todesbaum
/
util
/
freenet
/
fcp2
/
Node.java
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
d2fa91c
..
0b3ce6a
100644
(file)
--- a/
src/main/java/de/todesbaum/util/freenet/fcp2/Node.java
+++ b/
src/main/java/de/todesbaum/util/freenet/fcp2/Node.java
@@
-1,5
+1,5
@@
/*
/*
- * jSite - Node.java - Copyright © 2006–201
2
David Roden
+ * jSite - Node.java - Copyright © 2006–201
9
David Roden
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@
-78,4
+78,16
@@
public class Node {
return port;
}
return port;
}
+ //
+ // OBJECT METHODS
+ //
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public String toString() {
+ return String.format("%s:%d", getHostname(), getPort());
+ }
+
}
}