diff --git a/src/main/java/org/rumbledb/runtime/scripting/loops/ExitStatementIterator.java b/src/main/java/org/rumbledb/runtime/scripting/loops/ExitStatementIterator.java index c0e0f8614..5500dedea 100644 --- a/src/main/java/org/rumbledb/runtime/scripting/loops/ExitStatementIterator.java +++ b/src/main/java/org/rumbledb/runtime/scripting/loops/ExitStatementIterator.java @@ -72,7 +72,9 @@ protected Item nextLocal() { this.result = this.childIterator.materialize(this.currentDynamicContextForLocalExecution); this.pendingUpdateList = new PendingUpdateList(); if (this.childIterator.isUpdating()) { - this.pendingUpdateList = this.childIterator.getPendingUpdateList(this.currentDynamicContextForLocalExecution); + this.pendingUpdateList = this.childIterator.getPendingUpdateList( + this.currentDynamicContextForLocalExecution + ); } throw new ExitStatementException( this.pendingUpdateList,