simplify creation of payload input stream
[jSite2.git] / src / net / pterodactylus / util / fcp / NodeRef.java
index cc8241f..1546b7b 100644 (file)
@@ -7,7 +7,7 @@ package net.pterodactylus.util.fcp;
  * A reference for a node. The noderef contains all data that is necessary to
  * establish a trusted and secure connection to the node.
  * 
- * @author <a href="mailto:dr@ina-germany.de">David Roden</a>
+ * @author David ‘Bombe’ Roden &lt;bombe@freenetproject.org&gt;
  * @version $Id$
  */
 public class NodeRef {
@@ -55,6 +55,7 @@ public class NodeRef {
         * Creates a new, empty noderef.
         */
        public NodeRef() {
+               /* intentionally left blank. */
        }
 
        /**
@@ -129,7 +130,7 @@ public class NodeRef {
         * @return The name of the node, or <code>null</code> if the node is an
         *         opennet peer
         */
-       public String getName() {
+       public String getMyName() {
                return name;
        }