Skip to content

Commit 142b1a1

Browse files
committed
Update to XML reference for getChild()
1 parent 298cb38 commit 142b1a1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/src/processing/data/XML.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ public XML getChild(int index) {
443443
* Get a child by its name or path.
444444
*
445445
* @param name element name or path/to/element
446-
* @return the first matching element
446+
* @return the first matching element or null if no match
447447
*/
448448
public XML getChild(String name) {
449449
if (name.length() > 0 && name.charAt(0) == '/') {

0 commit comments

Comments
 (0)