From 47d63e2ca99951d9a4bcd5cf54017b2a06a9137c Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sat, 26 Apr 2008 11:12:15 +0000 Subject: [PATCH] remove same machine setting (can be detected automatically) git-svn-id: http://trooper/svn/projects/jSite/trunk@773 c3eda9e8-030b-0410-8277-bc7414b0a119 --- src/net/pterodactylus/jsite/core/Node.java | 38 ++++++------------------------ 1 file changed, 7 insertions(+), 31 deletions(-) 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 -- 2.7.4