--- XOM/src/nu/xom/Nodes.java.orig 2005-09-16 23:20:12.000000000 +0200 +++ XOM/src/nu/xom/Nodes.java 2007-12-09 07:24:15.000000000 +0100 @@ -116,25 +116,22 @@ return (Node) nodes.get(index); } - + /** *
* Removes the indexthnode in the list. * Subsequent nodes have their indexes reduced by one. *
- * + * * @param index the node to remove - * + * * @return the node at the specified position - * - * @throwsIndexOutOfBoundsException
if index is
- * negative or greater than or equal to the size of the list
*/
public Node remove(int index) {
- return (Node) nodes.remove(index);
+ return (Node) nodes.remove(index);
}
-
-
+
+
/**
* * Inserts a node at the indexth position in the list. @@ -188,4 +185,4 @@ } -} \ No newline at end of file +}