Skip to content

Commit 3f84385

Browse files
authored
Update XmlFileBuilder.java
1 parent 78e9b11 commit 3f84385

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/com/inet/gradle/setup/util/XmlFileBuilder.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,8 @@ public Element getChildRecursive( Node parent, String name, String key, String v
211211
return (Element)parent;
212212
}
213213
}
214-
214+
215+
Node first = parent.getFirstChild();
215216
Element res = null;
216217
for( Node child = first; child != null && res == null; child = child.getNextSibling() ) {
217218
res = getChildRecursive(child, name, key, value);

0 commit comments

Comments
 (0)