X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fde%2Ftodesbaum%2Fjsite%2Fmain%2FConfiguration.java;h=9b4378491819abb161a2a16ab26d76a3897dc0cf;hb=e4f461213da0e30faf9e9eb2e97626abff320618;hp=1a06f374c62a154d8c4f4f504ea7b8690fd2f621;hpb=f00de4e0d5ba4c14dc09ff84263563a7abc45cd9;p=jSite.git diff --git a/src/de/todesbaum/jsite/main/Configuration.java b/src/de/todesbaum/jsite/main/Configuration.java index 1a06f37..9b43784 100644 --- a/src/de/todesbaum/jsite/main/Configuration.java +++ b/src/de/todesbaum/jsite/main/Configuration.java @@ -44,7 +44,7 @@ import de.todesbaum.util.xml.XML; /** * @author David Roden <droden@gmail.com> - * @version $Id: Configuration.java 418 2006-03-29 17:49:16Z bombe $ + * @version $Id$ */ public class Configuration { @@ -176,6 +176,7 @@ public class Configuration { * @return The hostname of the node * @deprecated Use {@link #getSelectedNode()} instead */ + @Deprecated public String getNodeAddress() { return getNodeValue(new String[] { "node-address" }, "localhost"); } @@ -185,6 +186,7 @@ public class Configuration { * @param nodeAddress The hostname of the node * @deprecated Use {@link #setSelectedNode(Node)} instead */ + @Deprecated public void setNodeAddress(String nodeAddress) { rootNode.replace("node-address", nodeAddress); } @@ -194,6 +196,7 @@ public class Configuration { * @return The port number of the node * @deprecated Use {@link #getSelectedNode()} instead. */ + @Deprecated public int getNodePort() { return getNodeIntValue(new String[] { "node-port" }, 9481); } @@ -203,6 +206,7 @@ public class Configuration { * @param nodePort The port number of the node * @deprecated Use {@link #setSelectedNode(Node)} instead */ + @Deprecated public void setNodePort(int nodePort) { rootNode.replace("node-port", String.valueOf(nodePort)); }