From: David ‘Bombe’ Roden Date: Sat, 26 Apr 2008 11:12:15 +0000 (+0000) Subject: remove same machine setting (can be detected automatically) X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=47d63e2ca99951d9a4bcd5cf54017b2a06a9137c;p=jSite2.git remove same machine setting (can be detected automatically) git-svn-id: http://trooper/svn/projects/jSite/trunk@773 c3eda9e8-030b-0410-8277-bc7414b0a119 --- diff --git a/src/net/pterodactylus/jsite/core/Node.java b/src/net/pterodactylus/jsite/core/Node.java index 854a668..468a256 100644 --- a/src/net/pterodactylus/jsite/core/Node.java +++ b/src/net/pterodactylus/jsite/core/Node.java @@ -21,7 +21,7 @@ package net.pterodactylus.jsite.core; /** * Container for a Freenet node. - * + * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> * @version $Id$ */ @@ -36,12 +36,9 @@ public class Node { /** The port number of the node. */ private int port; - /** Whether the node is running on the same machine as jSite. */ - private boolean sameMachine; - /** * Returns the user-given name of the node. - * + * * @return The name of the node */ public String getName() { @@ -50,7 +47,7 @@ public class Node { /** * Sets the user-given name of the node. - * + * * @param name * The name of the node */ @@ -60,7 +57,7 @@ public class Node { /** * Returns the hostname of the node. - * + * * @return The hostname of the node */ public String getHostname() { @@ -69,7 +66,7 @@ public class Node { /** * Sets the hostname of the node. - * + * * @param hostname * The hostname of the node */ @@ -79,7 +76,7 @@ public class Node { /** * Returns the port number of the node. - * + * * @return The port number of the node */ public int getPort() { @@ -88,7 +85,7 @@ public class Node { /** * Sets the port number of the node. - * + * * @param port * The port number of the node */ @@ -97,27 +94,6 @@ public class Node { } /** - * Returns whether this node is running on the same machine as jSite. - * - * @return the sameMachine true if, and only if, the node is - * running on the same machine as jSite - */ - public boolean isSameMachine() { - return sameMachine; - } - - /** - * Sets whether this node is running on the same machine as jSite. - * - * @param sameMachine - * true if the node is running on the same machine - * as jSite, false otherwise - */ - public void setSameMachine(boolean sameMachine) { - this.sameMachine = sameMachine; - } - - /** * {@inheritDoc} */ @Override