whitespace fixups
[jSite2.git] / src / net / pterodactylus / jsite / core / NodeManager.java
index 922a85a..f032570 100644 (file)
@@ -49,7 +49,7 @@ import net.pterodactylus.util.number.Hex;
 
 /**
  * TODO
- * 
+ *
  * @author David ‘Bombe’ Roden <bombe@freenetproject.org>
  */
 public class NodeManager implements Iterable<Node>, PropertyChangeListener, HighLevelClientListener {
@@ -83,7 +83,7 @@ public class NodeManager implements Iterable<Node>, PropertyChangeListener, High
 
        /**
         * Creates a new FCP collector.
-        * 
+        *
         * @param clientName
         *            The name of the FCP client
         * @param directory
@@ -100,7 +100,7 @@ public class NodeManager implements Iterable<Node>, PropertyChangeListener, High
 
        /**
         * Adds the given listener to the list of listeners.
-        * 
+        *
         * @param nodeListener
         *            The listener to add
         */
@@ -110,7 +110,7 @@ public class NodeManager implements Iterable<Node>, PropertyChangeListener, High
 
        /**
         * Removes the given listener from the list of listeners.
-        * 
+        *
         * @param nodeListener
         *            The listener to remove
         */
@@ -120,7 +120,7 @@ public class NodeManager implements Iterable<Node>, PropertyChangeListener, High
 
        /**
         * Notifies all listeners that a node was added.
-        * 
+        *
         * @param node
         *            The node that was added.
         */
@@ -133,7 +133,7 @@ public class NodeManager implements Iterable<Node>, PropertyChangeListener, High
 
        /**
         * Notifies all listeners that a node was removed.
-        * 
+        *
         * @param node
         *            The node that was removed
         */
@@ -146,7 +146,7 @@ public class NodeManager implements Iterable<Node>, PropertyChangeListener, High
 
        /**
         * Notifies all listeners that the given node was connected.
-        * 
+        *
         * @param node
         *            The node that is now connected
         */
@@ -159,7 +159,7 @@ public class NodeManager implements Iterable<Node>, PropertyChangeListener, High
 
        /**
         * Notifies all listeners that a connection to a node has failed.
-        * 
+        *
         * @param node
         *            The node that could not be connected
         * @param cause
@@ -174,7 +174,7 @@ public class NodeManager implements Iterable<Node>, PropertyChangeListener, High
 
        /**
         * Notifies all listeners that the given node was disconnected.
-        * 
+        *
         * @param node
         *            The node that is now disconnected
         * @param throwable
@@ -194,7 +194,7 @@ public class NodeManager implements Iterable<Node>, PropertyChangeListener, High
 
        /**
         * Returns the directory in which the nodes are stored.
-        * 
+        *
         * @return The directory the nodes are stored in
         */
        public String getDirectory() {
@@ -203,7 +203,7 @@ public class NodeManager implements Iterable<Node>, PropertyChangeListener, High
 
        /**
         * Checks whether the given node is already connected.
-        * 
+        *
         * @param node
         *            The node to check
         * @return <code>true</code> if the node is already connected,
@@ -226,7 +226,7 @@ public class NodeManager implements Iterable<Node>, PropertyChangeListener, High
 
        /**
         * Loads nodes.
-        * 
+        *
         * @throws IOException
         *             if an I/O error occurs loading the nodes
         */
@@ -294,7 +294,7 @@ public class NodeManager implements Iterable<Node>, PropertyChangeListener, High
 
        /**
         * Saves all configured nodes.
-        * 
+        *
         * @throws IOException
         *             if an I/O error occurs saving the nodes
         */
@@ -327,7 +327,7 @@ public class NodeManager implements Iterable<Node>, PropertyChangeListener, High
 
        /**
         * Adds the given node to this manager.
-        * 
+        *
         * @see #connect(Node)
         * @param node
         *            The node to connect to
@@ -354,7 +354,7 @@ public class NodeManager implements Iterable<Node>, PropertyChangeListener, High
        /**
         * Removes the given node from the node manager, disconnecting it if it is
         * currently connected.
-        * 
+        *
         * @param node
         *            The node to remove
         */
@@ -376,7 +376,7 @@ public class NodeManager implements Iterable<Node>, PropertyChangeListener, High
 
        /**
         * Tries to establish a connection with the given node.
-        * 
+        *
         * @param node
         *            The node to connect to
         */
@@ -399,7 +399,7 @@ public class NodeManager implements Iterable<Node>, PropertyChangeListener, High
 
        /**
         * Disconnects the given node without removing it.
-        * 
+        *
         * @param node
         *            The node to disconnect
         */
@@ -416,7 +416,7 @@ public class NodeManager implements Iterable<Node>, PropertyChangeListener, High
 
        /**
         * Returns a list of all nodes.
-        * 
+        *
         * @return A list of all nodes
         */
        public List<Node> getNodes() {
@@ -425,7 +425,7 @@ public class NodeManager implements Iterable<Node>, PropertyChangeListener, High
 
        /**
         * Returns the high-level client for a given node.
-        * 
+        *
         * @param node
         *            The node to get a high-level client for
         * @return The high-level client for a node, or <code>null</code> if the
@@ -437,7 +437,7 @@ public class NodeManager implements Iterable<Node>, PropertyChangeListener, High
 
        /**
         * Returns the node for a high-level client.
-        * 
+        *
         * @param highLevelClient
         *            The high-level client to get the node for
         * @return The node for the high-level client, or <code>null</code> if the
@@ -449,7 +449,7 @@ public class NodeManager implements Iterable<Node>, PropertyChangeListener, High
 
        /**
         * Returns the node identified by the given ID.
-        * 
+        *
         * @param id
         *            The ID of the node
         * @return The node with the given ID, or <code>null</code> if no such
@@ -461,7 +461,7 @@ public class NodeManager implements Iterable<Node>, PropertyChangeListener, High
 
        /**
         * Generates a new SSK key pair.
-        * 
+        *
         * @return An array with the private key at index <code>0</code> and the
         *         public key at index <code>1</code>
         * @throws IOException