Skip to content

Commit 72ce76a

Browse files
committed
[bugfix] Avoid an NPE when there are no XUpdate Conditionals
1 parent e3b2a9e commit 72ce76a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

exist-core/src/main/java/org/exist/xupdate/XUpdateProcessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -949,7 +949,7 @@ private Conditional popConditional() {
949949

950950
private @Nullable Conditional peekConditional() {
951951
if (conditionals == null) {
952-
throw null;
952+
return null;
953953
}
954954
return conditionals.peek();
955955
}

0 commit comments

Comments
 (0)