diff options
Diffstat (limited to 'xml/src/main')
-rw-r--r-- | xml/src/main/java/org/apache/harmony/xml/dom/InnerNodeImpl.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xml/src/main/java/org/apache/harmony/xml/dom/InnerNodeImpl.java b/xml/src/main/java/org/apache/harmony/xml/dom/InnerNodeImpl.java index f71d289..2fd16d0 100644 --- a/xml/src/main/java/org/apache/harmony/xml/dom/InnerNodeImpl.java +++ b/xml/src/main/java/org/apache/harmony/xml/dom/InnerNodeImpl.java @@ -69,7 +69,7 @@ public abstract class InnerNodeImpl extends LeafNodeImpl { } public Node getNextSibling() { - if (parent == null || index >= parent.children.size()) { + if (parent == null || index + 1 >= parent.children.size()) { return null; } |