whitespace fixups
[jSite2.git] / src / net / pterodactylus / util / swing / SortableTreeNode.java
index 01cc3b1..056b708 100644 (file)
@@ -30,7 +30,7 @@ import javax.swing.tree.TreeNode;
 
 /**
  * {@link MutableTreeNode} subclass that allows to sort its children.
- * 
+ *
  * @author David ‘Bombe’ Roden <bombe@freenetproject.org>
  */
 public class SortableTreeNode implements MutableTreeNode {
@@ -49,7 +49,7 @@ public class SortableTreeNode implements MutableTreeNode {
 
        /**
         * Creates a new sortable tree node.
-        * 
+        *
         * @param allowsChildren
         *            <code>true</code> if this node allows children,
         *            <code>false</code> otherwise
@@ -61,7 +61,7 @@ public class SortableTreeNode implements MutableTreeNode {
        /**
         * Creates a new sortable tree node that contains the given user-defined
         * object.
-        * 
+        *
         * @param userObject
         *            The user-defined object
         */
@@ -72,7 +72,7 @@ public class SortableTreeNode implements MutableTreeNode {
        /**
         * Creates a new sortable tree node that contains the given user-defined
         * object.
-        * 
+        *
         * @param userObject
         *            The user-defined object
         * @param allowsChildren
@@ -125,7 +125,7 @@ public class SortableTreeNode implements MutableTreeNode {
 
        /**
         * Returns the user-defined object.
-        * 
+        *
         * @return The user-defined object
         */
        public Object getUserObject() {
@@ -152,7 +152,7 @@ public class SortableTreeNode implements MutableTreeNode {
 
        /**
         * Adds the given node to this node as a child.
-        * 
+        *
         * @param child
         *            The child node to add
         */
@@ -198,7 +198,7 @@ public class SortableTreeNode implements MutableTreeNode {
         * Removes all children of this node.
         */
        public void removeAll() {
-               for (MutableTreeNode childNode: children) {
+               for (MutableTreeNode childNode : children) {
                        childNode.setParent(null);
                }
                children.clear();